Pocket Money

No attempts yetTime limit1sMemory limit128 MB

Problem

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.

Input

The first line contains a natural number ZZ (1Z101 \le Z \le 10): the number of test sets. The test sets follow.

The first line of each test set contains a natural number NN (1N10000001 \le N \le 1000000): how many numbers the uncle wrote down.

The second line of the test set contains NN natural numbers kik_i (1ki10001 \le k_i \le 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.

Output

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.

Hint

Three worked examples:

  • For the numbers 2,22, 2 the sum is 2+2=42 + 2 = 4 and the product is 2×2=42 \times 2 = 4; they are equal, so the answer is =.
  • For the numbers 2,2,32, 2, 3 the sum is 2+2+3=72 + 2 + 3 = 7 and the product is 2×2×3=122 \times 2 \times 3 = 12; the product is greater, so the answer is ILOCZYN.
  • For the numbers 1,11, 1 the sum is 1+1=21 + 1 = 2 and the product is 1×1=11 \times 1 = 1; the sum is greater, so the answer is SUMA.