Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Swap the digits

In a 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.

Input example #1

198

Output example #1

891