e-olymp
Problems

Find the number 1

Find the number 1

Three-digit number n was divided by 10. When the last digit of n was appended to the quotient from the left, we got x. Find x if n is known.

Input

Three-digit positive integer n.

Output

Print the number x.

Time limit 1 second
Memory limit 128 MiB
Input example #1
123
Output example #1
312
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"