Rosetta Problems

Free Contest 97 - AQ

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