Task: Program Execution
Input (English): 3, ['v', '9709', '1917', 'g', 'C', 'G', 'Z', '9671', 'D', '3791']
Output (English): v, g, Z, 3791