Array of integers is given. Find the sum of elements on a segment.
The first line contains two integers and k~(1 \le n \le 10^5, 0 \le k \le 10^5) — the number of elements in array and number of queries. Next lines contain the queries of two types:
A i x — assign to the -th element the value of x~(1 \le i \le n, 0 \le x \le 10^9);
Q l r — find the sum of numbers in array at positions from to r~(1 \le l \le r \le n).
Initially the array contains zeros.
For each query of type print the sum of elements on a segment [l; r].
Example 1