1991. The battle near the swamp

Problem Name:
1991. The battle near the swamp
Site:Timus
Links:
Tags:
Problem setters:
Denis Dublennykh (prepared by Egor Shchelkonogov)