Google Code Jam Complete A B and C in Scanner.
Left D and E unsolved.