Task: Program Execution
Input (English): 6, 7, ['2217', 'd', '5239', 'g', 'P', '2409', '9995', 'n', 'w', 'Z']
Output (English): 2409, 9995