codejam 2013 qualification problem A
2013 q