Beautiful Decomposition

Problem Name:
Beautiful Decomposition
Site:CodeForces
Links:
Tags:
Problem setters: