Task: Program Execution
Input (English): 2, 4, ['Z', '7849', 'C', 'R', '1187']
Output (English): R, C, 7849