Reverses words from Code Jam