Task: Program Execution
Input (English): 4, 4, ['E', 'L', '1301', 'E', 'X', '5471']
Output (English): E