TopCoder Problem ChristmasTreeDecoration SRM 640 Div1 250