Madoka and the Sixth-graders

Problem Name:
Madoka and the Sixth-graders
Site:CodeForces
Links:
Tags:
Problem setters: