|All-time Popular Problems|
|Maximum difference between node and its ancestor|
|Even and odd elements at even and odd positions|
|Immediate Smaller Element|
|Remove every k'th node|
|Maximum of all subarrays of size k|
|Boundary Traversal of binary tree|
Calculate the product of all the elements in an array.
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case consist of two lines . The first line of each test case contains an integer N.The second line of each test case contains N space separated integers denoting elements of the array A[ ].
For each test case in a new line print the product of all elements.
1 ≤ T ≤ 50
1 ≤ N ≤ 10
1 ≤ A[i] ≤ 5
1 2 3 4 5
5 5 5 5 5 5 5 5 5 5