Task: Program Execution
Input (English): 3, ['Z', '1599', '7747', '2881', 'O', '7107', 'X']
Output (English): Z, 1599, 7747