You are given a bit string of length $n$ . Your task is to calculate for each $k$ between $0 \ldots n$ the number of non-empty substrings that contain exactly $k$ ones.
For example, if the string is 101, there are:
The only input line contains a binary string of length $n$ .
Print $n+1$ values as specified above.