Task: Program Execution
Input (English): 4, ['2717', '4311', 'G', '9583', 'G', 'z', 'W', 'a', 'o', 'U']
Output (English): 2717, 4311, G, 9583, G, z