There are numbers x_0, x_1, \ldots, x_{n - 1}, initially all equal to . You have to perform operations of two types:
— increase each of the numbers x_a, x_{a + 1}, \ldots, x_b by .
— find how many of the numbers x_a, x_{a + 1}, \ldots, x_b are divisible by .
The first line contains two integers and q~(1 \le n, q \le 10^5) — the number of elements and the number of operations.
Each of the next lines contains one operation in the form or 1~a~b~(0 \le a \le b \le n - 1).
For each operation of type , print the answer on a separate line.
Example 1