Digits permutation#943

Digits permutation

1 secondo
128 megabyte
Molto facile

Swap the first and last digits of a given three-digit positive integer.

Input

One three-digit positive integer (100 \leq n \leq 999).

Output

Print the number obtained after swapping the first and last digits.

Esempi

Esempio 1

Loading
Loading