Rosetta Problems

Free Contest 87 - TABLE

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