Task: Program Execution
Input (English): 3147, A, O, i, O, 703, 8113, 2575, 2333, R, Q, q
Output (English): 3147, 703, 8113, 2575, 2333