Rosetta Problems

Mofk Cup Round 2 - COWSHEDS

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