Find the number 4#8858

Find the number 4

1 second
64 megabytes
Very easy

In the three-digit number , the last digit was crossed out. When the digits in the resulting two-digit number were swapped and then the last digit of the number was appended to the left, the number was obtained. Find the number if the value of is known.

Input

A three-digit natural number .

Output

The solution to the problem.

Examples

Example 1

Loading
Loading