Task: Program Execution
Input (English): 5, 6, ['O', '5001', '5585', '2211', '7377', 't', '1971', 'Z', '7197']
Output (English): 7377