Task: Program Execution
Input (English): 1, 4, ['E', '3305', '1973', 'L', 'R', '4451', '5315', '7293']
Output (English): E, R