Task: Program Execution
Input (English): 3, ['1967', 'q', '9021', 'Z', 'R', '2863']
Output (English): Z, R, 2863