Control C101A

Your task is to write a program that reads a natural number and prints
the sum of their three last digits.

Input

The input is a natural number n ≥ 100.

Output

The output is a line with the sum of the last three digits of n.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T10:33:07.547Z

© Jutge.org, 2006–2026.
https://jutge.org
