Task: Program Execution
Input (English): 3, ['d', 'U', 'J', '6821', '3659', '8781', 'F']
Output (English): d, U, J