Task: Program Execution
Input (English): 5077, C, c, C, 8109, 4847, R, 8667, P, 6275, 5633, 9695, T, B, U, Q, 555
Output (English): C, c, C, R, P, T, B, U, Q, 5077, 8109, 4847, 8667, 6275, 5633, 9695, 555