Task: Program Execution
Input (English): 6, ['R', '8411', '6093', '5551', 'L', 'U', 'P', 'L', '789', '2243', 'D', '3765']
Output (English): R, P