Rosetta Problems

Treasures and Vikings

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