You are given an array A containing N positive integers. Consider an array B that also contains N positive integers and it satisfies the following condition:
Find the minimum possible value of B1+B2+...+BN for array B. Since the answer can be large, print the sum modulo 1000000007.
Input format
Output format
For each test case, print the sum modulo 1000000007 in a new line.
Constraints
1≤T≤100001≤N≤2000001≤Ai≤1000000
The sum of N over T test cases does not exceed 200000.
For the first test case, the array B=[12,6,4,3]. Thus, the minimum sum possible is 25.
For the second test case, the array B=[60,30,20,15,12]. Thus, the minimum sum possible is 137.