Task: Program Execution
Input (English): 4, ['g', '851', 'Y', 'g', '8507', '4333', '3443', 'J']
Output (English): g, 851, Y, g