Rosetta Problems

Beginner Free Contest 40 - POSSIBLE

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