Task: Program Execution
Input (English): 3, ['N', '23', 'R', '7849', '423', '1839', 'N', 'A', 'z']
Output (English): N, 23, R