Task: Program Execution
Input (English): 2, ['R', '6995', 'W', '1999', '785']
Output (English): R, 6995