← Problem book: Python Lesson 11 of 96 · 10 XP

Last digit

Theory and problem statement

Machine translation, not yet reviewed by a native speaker.

You are given an integer n (n ≥ 0). Print its last digit.

Example

Input:

1234

Output:

4

Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.