Getting in Shape

Problem Name:
Getting in Shape
Site:CodeForces
Links:
Tags: