There are towns in a coordinate plane. Town is located at coordinate . The distance between town and town is . Your task is to compute the sum of the distance between each pair of towns.
Input format
Output format
For each test case, print the sum of the distance between each pair of towns in a new line.
Constraints
It is guaranteed that the sum of over test cases does not exceed .
For the first testcase, there are no possible pairs of town. Therefore, the sum is 0.
For the second testcase, there are only 3 possible pairs (town1,town2), (town1,town3) and (town2,town3). Therefore, the sum of distance between every pair of towns is 12.