eolymp
bolt
Try our new interface for solving problems
Problems

Digits permutation in 3-digit integer

Digits permutation in 3-digit integer

Time limit 1 second
Memory limit 128 MiB

In the given three-digit positive integer swap the first and the last digits.

Input data

One three-digit positive integer n (100n999).

Output data

Print the number obtained by exchange of the first and the last digits.

Examples

Input example #1
198
Output example #1
891