Task: Program Execution
Input (English): 8, 9, ['P', '7851', '873', '8311', '4549', 'M', '2507', 'F', '21']
Output (English): 21