Rosetta Problems

Beginner Free Contest 41 - BASE

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