Solution to "Alphabet Soup" problem in Facebook's 2012 Hacker Cup Qualifying Round
By chatting or signing in you agree to the Terms and chat-message logging (revocable in History).