Riana and Gallant Guards

Problem Name:
Riana and Gallant Guards
Site:CodeForces
Links:
Tags:
Problem setters: