Rosetta Problems

Free Contest 31 - PLAYNUM

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