Clever Cell Choices

Problem Name:
Clever Cell Choices
Site:CodeForces
Links:
Tags: