Google Code Jam - 2009 Qualification (A) Alien Language