You are given a binary sequence a_1,a_2,…,a_n of length n. You will also be given q queries of two different types.
p t: replace a_p with t.
l r x y: Find any \[s,e] satisfying the following conditions, or report that none exists:
The first line contains two integers n and q (1≤n,q≤2×105).
The second line contains a binary string of length n denoting the binary sequence a_1a_2…a_n.
Followed by q lines, each is in one of the following formats:
For each query of the second type, if there exists a segment \[s,e] satisfying the conditions, print two integers s and e separated by a single space. Otherwise, print −1.
If there are multiple possible answers, you may print any.