Task: Program Execution
Input (English): 6, 6, ['4699', '6849', 'C', 'P', '1039', '2981', 'Z']
Output (English): 2981