Integer division and remainder




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
 

Auto CHOOSE THE PROGRAMMING NECESSARY LANGUAGE!
Attach the program source file:
or enter the source code in the language:

Rules for designing programs and a list of errors during automatic task verification
           

Results: