Task
Time limit:
1000 ms,
Memory limit:
256 Mb
Rabbit Clover with friends began to study mathematics. The first thing they learned is that all numbers are made up of digits.
Write a program that will help Rabbit Clover determine how many units are in a given number
Recall that units are the last digit of a number
Input: A natural number is entered.
Output: Print the answer to the problem.
Examples
N |
Input |
Output |
1 |
179 |
9 |
2 |
40 |
0 |