Task: Program Execution
Input (English): 6, 8, ['7641', '4851', 'h', 'E', 'B', 'Y', '1967', '2227', '1001', '5703', 's', '9929']
Output (English): 2227, 1967, Y