Task: Program Execution
Input (English): 7, 8, ['8021', '5237', '2237', '2297', 'N', '9481', '975', '4557', '4329', 'Y']
Output (English): 9754557