Task: Program Execution
Input (English): 3, 4, ['R', '2361', 'V', '5603', '1463', '7793', '2827', 'b', 'L']
Output (English): V, 5603