Rosetta Problems

Free Contest 17 - TREASURE

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