

'N' = 3
'ARR' = {2, 4, 1, 1}
TotalSum = 2 + 4 + 1 + 1 = 8
Tweaked Array = {6, 4, 7, 7}.
The first line contains an integer ‘T’ which denotes the number of test cases to be run. Then the test cases follow.
The first line of each test case contains an integer ‘N’.
The second line contains ‘N’ space-separated integers denoting the elements of array ‘ARR’
For each test case, print ‘N’ space-separated integers denoting the elements of the tweaked array.
Print the output of each test case in a new line.
You don’t need to print anything. It has already been taken care of. Just implement the given function.
1 <= T <= 10
1 <= N <= 10^5
-10^5 <= ARR[i] <= 10^5
Sum of ‘N’ over all test cases is <= 10^5.
Time Limit: 1 sec