Because of necessary software maintenance, Jutge.org may not fully work on the 7 of may, from 8 to 10 CEST.
Quatre dígits
P70822
Statement
html
Feu un programa que llegeixi un nombre natural n,
i que n’escrigui la suma de les quatre darreres xifres.
Entrada
L’entrada consisteix en un n entre 1000 i 108.
Sortida
Cal escriure la suma de les quatre darreres xifres d’n.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.