Hektor's uncle recently offered him a little pocket money for the upcoming holidays, and used the occasion to test Hektor's arithmetic skills.
The uncle wrote a few natural numbers on a slip of paper and asked Hektor to make a choice: would he rather receive pocket money equal to the sum of the written numbers, or equal to their product?
Write a program that, for a given sequence of natural numbers, decides which choice is more profitable for Hektor.
The first line contains a natural number Z (1≤Z≤10): the number of test sets. The test sets follow.
The first line of each test set contains a natural number N (1≤N≤1000000): how many numbers the uncle wrote down.
The second line of the test set contains N natural numbers ki (1≤ki≤1000), separated by spaces: the numbers written on the paper.
If the paper holds only a single number, both the sum and the product of the sequence are taken to be that one number.
For each test set, print on its own line:
SUMA if the sum of the numbers is greater than their product,ILOCZYN if the product of the numbers is greater than their sum,= (an equals sign) if the sum equals the product.SUMA and ILOCZYN are fixed literal words (Polish for "sum" and "product"); print them exactly as shown.
Three worked examples:
=.ILOCZYN.SUMA.