Rarity and New Dress

Problem Name:
Rarity and New Dress
Site:CodeForces
Links:
Tags: