What a Colorful Wall

Problem Name:
What a Colorful Wall
Site:CodeForces
Links:
Tags: