eolymp
Problems

Left and Right

Left and Right

Time limit 1 second
Memory limit 128 MiB

Four digit positive integer is given. Swap the first and the last digit in it.

Input data

One four digit positive integer n.

Output data

Print the resulting number.

Examples

Input example #1
1234
Output example #1
4231
Author Mayis Eyniyev