Rainbow Balls

Problem Name:
Rainbow Balls
Site:CodeForces
Links:
Tags:
Problem setters: