1439. Battle with You-Know-Who

Problem Name:
1439. Battle with You-Know-Who
Site:Timus
Links:
Tags:
Problem setters:
Alexander Klepinin, Stanislav Vasilyev