The first line contains 2 integers $n, q$ — the sequence length and the number of queries. $1\le n,q\le 10^6$.
The second line contains $n$ integers $a_1, a_2, \dots, a_n$ — the initial sequence. $|a_i|\le 10^6$.
Each of the next $q$ lines contains an operation, 1 i x or 2 l r.
$1\le l\le r\le n, $ $|x|\le 10^6$。