Google Code Jam Quals 2013 Solutions (cem) (only A and B are entirely correct ;-))