TopCoder open 14 round2c Easy