You are given a string of size n that consists of 0s or 1s. You are required to perform total k queries and there are the following types of queries:
Input format
Output format
For each query of type 1, print the maximum size of the subarray with all 1′s in a new line.
Constraints
1≤n,k≤105
1≤X≤n
String contains only 0′s or 1′s
Each query is of one of the mentioned types