Cowardly Rooks

Problem Name:
Cowardly Rooks
Site:CodeForces
Links:
Tags:
Problem setters: