Rosetta Problems

Beginner Free Contest 39 - NEWYEAR

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