Module: INTEGER DIVISION AND REMAIN


Problem

11 /16


Number units

Problem

Clever Rabbit and his friends began to study math. The first thing they learned is that all numbers are made up of digits. Write a program to help Clever Rabbit determine the digit that represent the ones in a number. 
Recall that ones is the last digit of a number.

Input format
The natural number is inputed.

Output format
Outpur the answer to the problem.
 
Examples
N Input Output
1 2007 7
2 40 0