Rosetta Problems

Free Contest 99 - TREASURE

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