Task: Program Execution
Input (English): a, 8409, 5649, Q, 3147, r, q, m, u, T, J, 1761, z, 6397
Output (English): a, Q, r, q, m, u, T, J, z