Task: Program Execution
Input (English): to, L, g, had, D, F, Q
Output (English): toLghadDFQ