Choosing flowers

Problem Name:
Choosing flowers
Site:CodeForces
Links:
Tags: