Task: Program Execution
Input (English): 4, 4, ['c', '9215', 'P', '3331', '9547', 'E']
Output (English): 3331