2012 Qualification round ((Alphabet soup) solution