codejam 2014 c not accepted