Task: Program Execution
Input (English): 7097, 635, 777, 3031, 685, Q, 3311, 2177, c, N, g, 9017, H, 8113, L
Output (English): Q, c, N, g, H, L, 7097, 635, 777, 3031, 685, 3311, 2177, 9017, 8113