Task: Program Execution
Input (English): 2, ['R', '2197', '3149', 'b']
Output (English): R, 3149