Rosetta Problems

Beginner Free Contest 35 - PP3

https://oj.vnoi.info/problem/fcb035_pp3