Types: N: int, s: str  
Ranges: 1 ≤ N ≤ 5000, 1 ≤ |s| ≤ N  
Addtl Info: s consists of the letters '0' and '1'