Problems

# Digits permutation in 3-digit integer

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

#### Input

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

#### Output

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

Time limit 1 second
Memory limit 128 MiB
Input example #1
198

Output example #1
891