AlgoBazaAlgoBaza
Back to tasks

The last digit

Beginner

Python for kids 路 Lesson 17: input() - reading a number

Problem Statement

Read a number and print its last digit.

Input Format

One whole number n (0 <= n <= 1000).

Output Format

One number - the result.

Examples
Example 1

Input

2026

Output

6