Task: Program Execution
Input (English): 1, 2, ['9585', 'y', '3295', 'Y', '15', '9637', '7021', '5005', 'n']
Output (English): 9585, 3295, 15, 7021, n