World is getting more evil, and it's getting tougher to get into the Evil League of Evil. Since the legendary Bad Horse has retired, now you have to correctly answer the evil questions of Dr. Horrible, who has a PhD in horribleness (but not in Computer Science).
You are given an array of elements, which are initially all . After that, you will be given commands in the following format:
0~p~q~v — add to all elements in the range from to inclusive, where and are indices of the array.
— print a line containing a single integer, the sum of all array elements between and inclusive.
The first line contains the number of test cases. Each test case starts with (n \le 10^5) and (c \le 10^5). After that, commands follow in the format described above. It is guaranteed that 1 \le p, q \le n and 1 \le v \le 10^7.
Print the answers to the queries.
Example 1