A very rich prince has exactly diamonds. Each diamond has a certain value . Tradition says that, before getting married, the prince has to give a present of value exactly to his princess. The prince wants to give her exactly two of his diamonds, but he does not know how to decide quickly if he can do it or not. Can you help to this stupid?
For instance, if and the value of the diamonds is , then it is possible to give a present of value () or a present of value (), but it is impossible to give a present of value .
Input consists of several cases. Each case begins with the gift value (a natural number between 1 and ) and the number of diamonds (a natural number between 1 and ) in this order. Then come natural numbers between 1 and indicating the value of each diamond. A case with marks the end of the input.
For each case, print a line with “married” or
“single” depending on whether the prince can give the
present or not.
Input
12 6 5 8 6 2 6 20 9 6 5 8 6 2 6 20 0 0
Output
married single