Rosetta Problems

Free Contest 4 - ATM

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