Rosetta Problems

Beginner Free Contest 53 - POTM

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