Task: Program Execution
Input (English): 4, 6, ['1435', 'g', '7071', '8371', 'E', 'X', '4761']
Output (English): 8371, E, X