eolymp
bolt
Try our new interface for solving problems
Problems

Find the number 1

Find the number 1

Time limit 1 second
Memory limit 128 MiB

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 data

Three-digit positive integer n.

Output data

Print the number x.

Examples

Input example #1
123
Output example #1
312
Author Matviychuk Sergiy
Source "ABC programming"