Integer
Integer-25
Integer-26
Integer-27
~/algor $ cat problems/teskari-son
Reversed number
Easy
1000 ms
64 MB
15%
A three-digit positive integer $n$ is given. Find the number obtained by writing its digits in reverse order. Leading zeros of the result are not written: for example, $120$ gives $21$.
Input
One three-digit positive integer $n$.
Output
One integer — the number made of the digits in reverse order.
Note
$100 \le n \le 999$
Examples
Input #1
123
Output #1
321
Input #2
120
Output #2
21