Task: Program Execution
Input (English): 3, 5, ['E', 'f', '6509', 'o', '8541', 'L', '6419', 'P', 'O', '8463', '5771']
Output (English): 15050