Task: Program Execution
Input (English): 6707, 5039, 6169, Q, T, W, Z, D, r, 4377, 477, 3043, R, K, z, 3045, 5919
Output (English): Q, T, W, Z, D, r, R, K, z