Digits permutation in 3-digit integer
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
In the given three-digit positive integer swap the first and the last digits.
Input
One three-digit positive integer .
Output
Print the number obtained by exchange of the first and the last digits.
Examples
Input #1
Answer #1
Submissions 44K
Acceptance rate 41%