Task: Program Execution
Input (English): 3, ['3991', 'E', '341', 'N', 'X', 'F', '5591', '1989']
Output (English): N, X, F, 5591, 1989