Gauß in Elementary School#2535

Gauß in Elementary School

1 second
64 megabytes
Very easy

Johann Carl Friedrich Gauß (1777–1855) was one of the most important German mathematicians. For those who remember the Deutsche Mark, his portrait was featured on the 10 DM note. In elementary school, his teacher J. G. Büttner tried to keep the pupils occupied by asking them to add up the integers from to . The young Gauß surprised everyone by producing the correct answer () within seconds.

Can you write a program that can compute such sums very quickly?

Given two integers and , calculate the sum of all integers from to . In other words, compute

Sum formula
i = n + (n + 1) + (n + 2) + \dots + (m - 1) + m

Input

The first line contains the number of scenarios. Each scenario consists of a line containing the numbers and (-10^9 \leq n \leq m \leq 10^9).

Output

The output for each scenario should start with a line containing "Scenario #i:", where is the scenario number, starting from . Then print the sum of all integers from to . End the output for the scenario with a blank line.

Examples

Example 1

Loading
Loading