e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

The last digit

The last digit

Print the last digit of a number.

Input

One positive integer n (1n109).

Output

Print the last digit of the number n.

Time limit 1 second
Memory limit 128 MiB
Input example #1
123
Output example #1
3
Input example #2
6578
Output example #2
8