Rosetta Problems

Free Contest 113 - IDP0105A

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