Task: Program Execution
Input (English): Q, 9497, q, 1193, c, 5215, I, 5791, 1983, r, 3073, 2741, 1051, 1049, 1025
Output (English): 9497, 1193, 5215, 5791, 1983, 3073, 2741, 1051, 1049, 1025