Task: Program Execution
Input (English): 3, ['p', 'd', 'O', 'W', 'l', '2207', 'x']
Output (English): p, d, O