Task: Program Execution
Input (English): 3, ['3465', '7341', 'N', 'O', '8141', '5371']
Output (English): 3465, 7341, N