e-olymp

121

121

Time limit 1 second
Memory limit 64 MiB
Input example #1
123
Output example #1
3
2
1