Task: Program Execution
Input (English): 4205, 9963, 6067, Q, r, g, 4107, i, 751, 9511, 8267, X, P, Z, 4129, 6097, q, R, 4179, k, 3765, O
Output (English): Q, r, g, i, X, P, Z, q, R, k, O