5-year-old Shinchan had just started learning mathematics. Meanwhile, one of his studious classmates, Kazama, had already written a basic calculator which supports only three operations on integers: multiplication , addition , and subtraction . Since he had just learned about these operations, he didn't know about operator precedence, and so, in his calculator, all operators had the same precedence and were left-associative.
As always, Shinchan started to irritate him with his silly questions. He gave Kazama a list of integers and asked him to insert one of the above operators between each pair of consecutive integers such that the result obtained after feeding the resulting expression in Kazama's calculator is divisible by . At his core, Shinchan is actually a good guy, so he only gave lists of integers for which an answer exists.
Can you help Kazama create the required expression? If multiple solutions exist, print any one of them.
The first line contains a single integer denoting the number of elements in the list. The second line contains space-separated integers denoting the elements of the list.
The length of the output expression should not exceed .
Print a single line containing the required expressoin. You may insert spaces between operators and operands.
You are not allowed to permute the list.
All operators have the same precedence and are left-associative, e.g., is interpreted as
Unary plus and minus are not supported, e.g., statements like , , or are invalid.
Sample Input 0
322 79 21
Sample Output 0
Solution 1: , where , so it is perfectly divisible by . Solution 2: , which is also divisible by .