Nezzar and Colorful Balls

Problem Name:
Nezzar and Colorful Balls
Site:CodeForces
Links:
Tags:
Problem setters: