Horrible Queries
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. They are:
— you have to add to all numbers in the range of to inclusive, where and are two indexes of the array.
— print a line containing a single integer which is the sum of all the array elements between and inclusive.
Input
The first line contains the number of test cases. Each test case starts with and . After that you'll be given commands in the format as mentioned above. It is known that and .
Output
Print the answers to the queries.