Task: Program Execution
Input (English): Q, 5715, 6001, L
Output (English): Q, L, 5715, 6001