Task: Program Execution
Input (English): 3, ['9517', 'X', '7431', '1435', 'f', 'F', 'v', '49', 'p', 'Y', 'Z']
Output (English): 9517, X, 7431