Artistic Partition

Problem Name:
Artistic Partition
Site:CodeForces
Links:
Tags:
Problem setters: