TopCoder SRM 621 DIV 2 NumbersChallenge