Types: N: int, S: str  
Ranges: 1 ≤ N ≤ 10^5, |S| = 2N, S[i] ∈ {'B', 'W'}  
Addtl Info: None