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 n100n\ge100.

Output

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

Problem information

Author: Unknown
Translator: Carlos Molina

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

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