시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 1024 MB | 234 | 190 | 183 | 80.973% |
Beekeeper Bill is ready to go to the annual beekeeper's convention with his friends. Bill packed his honey in jars, but unfortunately the honey in some of the jars has turned sour. Bill's friends are mean, and if too much of Bill's honey is sour they will go to the convention without him.
If Bill has more jars of sour honey than sweet, he will be left “beehind”. If Bill has more jars of sweet honey than sour he will go to the convention. If Bill has the same number of sweet and sour jars, his friends are undecided. Lastly, Bill's friends are superstitious, if he has exactly 13 jars they will never speak to him again. Bill needs new friends.
Input consists of multiple cases, each on its own line. Each case consists of two numbers x and y (0 ≤ x, y ≤ 1000), which are the number of sweet and sour jars Bill has, respectively. Input is terminated by a line containing two zeros.
For each case, output one of the following results on its own line (without quotes).
If Bill's friends will never speak to him again, that is most important and should be the only output.
17 3 13 14 8 5 44 44 0 0
To the convention. Left beehind. Never speak again. Undecided.
High School > Virginia Tech High School Programming Contest > 2014 Virginia Tech High School Programming Contest D번