Task: Program Execution
Input (English): 1, ['5141', '4851', 'Y', '7777', '2001']
Output (English): 5141