Colorful Bricks

Problem Name:
Colorful Bricks
Site:CodeForces
Links:
Tags:
Problem setters: