# Sangsu

**Under construction**

Still being built. Things may change

Interview

Time limit 1s, Memory limit 128 MB

**Summary**

Reverse two given three-digit numbers digit by digit and print the larger reversed value.

- Level: Easy, 1 of 10
- Topics: [Math](/mini/problems?topic=math), [Implementation](/mini/problems?topic=implementation)
- Solved: No attempts yet

## Problem

Sangsu, Sanggeun's younger brother, has trouble with math. In particular, he does not read numbers from left to right; he always reads them from right to left.

Sanggeun shows Sangsu two three-digit numbers and asks which number is larger after Sangsu reads both numbers in his reversed way. For example, if 734 and 893 are given, Sangsu reads them as 437 and 398, so he answers 437.

Given two three-digit numbers, write a program that prints Sangsu's answer.

## Input

The first line contains two three-digit numbers `A` and `B`, separated by a space. The two numbers are different, and neither number contains the digit `0`.

## Output

Print the larger number after Sangsu reads both numbers in reverse.

## Examples (3)

**Example 1**

Input

```
734 893

```

Expected output

```
437

```

**Example 2**

Input

```
221 231

```

Expected output

```
132

```

**Example 3**

Input

```
839 237

```

Expected output

```
938

```
