Task: Program Execution
Input (English): 4, ['U', 'V', '1607', 'D', '3677', 'P', 'w', '5969', 'O', '5721', 'o']
Output (English): U, V, 1607, D