Task: Program Execution
Input (English): D, Q, A, before, Q, when, f, lesson, X, Q, the, F
Output (English): DQAbeforeQwhenflessonXQtheF