Task: Program Execution
Input (English): 2, ['E', '1529', 'P', 'B']
Output (English): E, P