Task: Program Execution
Input (English): 1, 4, ['439', '2429', '2477', 'Z', 'Y']
Output (English): Z, 2477, 2429, 439