Task: Program Execution
Input (English): 3, ['D', '1259', 'Z', 'A', 'P', 'K', '2643', 'Y', '9247', 'S', 'z', '2275']
Output (English): D, 1259, Z