stigid serT


Submit solution

Points: 10
Time limit: 5.0s
Memory limit: 256M

Author:
Problem type
Allowed languages
C#, Go, Java

Escriu un progarma que llegeixi un número de xifres, calcula un nou número invertint els dígits, i l'imprimeix.

Input Format

Un enter de 3 xifres.

Constraints

-

Output Format

-

Test Case 1

Input
976
Output
679

Test Case 2

Input
123
Output
321

Test Case 3

Input
320
Output
23

Test Case 4

Input
100
Output
1

Test Case 5

Input
812
Output
218

Authorship: Gerard Falcó

CC BY-NC-SA 4.0