#T814. 鸡尾酒疗法
鸡尾酒疗法
Description
Cocktail therapy refers to "Highly Active Antiretroviral Therapy" (HAART). Many improved therapies have been proposed based on the cocktail therapy. To verify whether these treatment methods are more effective than the cocktail therapy, clinical controlled trials can be conducted. Suppose the efficacy rate of the cocktail therapy is x, and the efficacy rate of the new therapy is y. If y - x > 5%, the effect is better; if x - y > 5%, the effect is worse; otherwise, the effect is considered similar. Below are n groups of clinical controlled trials, where the first group uses the cocktail therapy, and the remaining n-1 groups use various improved therapies. Please write a program to determine the effect of each improved therapy.
Input Format
The first line is an integer n (1 < n ≤ 20); the remaining n lines each contain two integers, where the first integer is the total number of clinical cases (≤ 10,000), and the second integer is the number of cases with effective treatment. Among these n lines of data, the first line represents the data for the cocktail therapy, and the remaining lines represent data for various improved therapies.
Output Format
There are n-1 lines of output, each indicating the effect of the corresponding improved therapy: if the effect is better, output "better"; if the effect is worse, output "worse"; otherwise, output "same".
```input1 5 125 99 112 89 145 99 99 97 123 98```output1
same
worse
better
same
## Source
CodesOnline