Task: Program Execution
Input (English): 3, ['W', '1563', 'B', '9875', '6361', '1081', '3547', 'x', '4607']
Output (English): 9875, 6361, 1081, 3547, x, 4607