Task: Program Execution
Input (English): 4, ['K', '8247', 'B', 'O', 'w', 'Y', 'x', 'g', 'B', 'w', 'g']
Output (English): w, Y, x, g, B, w, g