eolymp
bolt
Try our new interface for solving problems
Problems

The last digit

The last digit

Print the last digit of a number. \InputFile One positive integer $n~(1 \le n \le 10^9)$. \OutputFile 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