Task: Program Execution
Input (English): 6, 6, ['3309', '4219', '4747', 'p', 'O', '6541', '9059', '7531']
Output (English): 6541