Please solve the programming task below using a self-contained code snippet in a markdown code block.

Given a string s of zeros and ones, return the maximum score after splitting the string into two non-empty substrings (i.e. left substring and right substring).
The score after splitting a string is the number of zeros in the left substring plus the number of ones in the right substring.
 
Please complete the following python code precisely:
```python
class Solution:
    def maxScore(self, s: str) -> int:
```