Task: Program Execution
Input (English): 4, 5, ['G', '3471', '39', 'W', 'B', 'v', 'i', 'N']
Output (English): B, W