Task: Program Execution
Input (English): 6, 6, ['5009', '421', 'p', '1099', '6455', '6665', 'N']
Output (English): 6665