1896. War Games 2.1

Problem Name:
1896. War Games 2.1
Site:Timus
Links:
Tags:
Problem setters:
Prepared by Maxim Pivko