Monsters Attack!

Problem Name:
Monsters Attack!
Site:CodeForces
Links:
Tags:
Problem setters: