Given an array Arr of N integers, write a program to find the sum of values of even and odd index positions separately.
First line of input contains a single integer T which denotes the number of test cases. Then T test cases follows. First line of each test case contains a single integer N which denotes the number of elements in the array. Second line of each test case contains N space separated integer which denotes the elements of the array.
For each test case, in first line print the sum of elements of array present at even indexes and in the second line print the sum of elements at odd indexes.
1 2 3 4 5 6
10 20 30 40 50 60 70