Rosetta Problems

Free Contest 19 - STONES

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