#B2065. Comparison of Clinical Therapies

    ID: 11147 Type: Default 1000ms 256MiB

Comparison of Clinical Therapies

Comparison of Clinical Therapies

This problem is based on the clinical experiments comparing the standard cocktail therapy (highly active antiretroviral therapy, HAART) with various improved therapies. Cocktail therapy was proposed by the scientist Ha Da-yi in 1996 and involves the use of three or more antiviral drugs in combination to treat AIDS. Its application can reduce drug resistance, suppress viral replication, and partially or completely restore immune function, thus slowing disease progression.

In this problem, the effectiveness rate of the cocktail therapy is denoted by \(x\) and that of a new therapy by \(y\). The new therapy is considered:

  • Better if \(y-x > 0.05\),
  • Worse if \(x-y > 0.05\),
  • Same otherwise.

You are given \(n\) sets of clinical experiments. The first experiment uses the cocktail therapy, and the following \(n-1\) experiments use various improved therapies. For each improved therapy, determine whether its therapeutic effect is "Better", "Worse", or "Same" compared to the cocktail therapy.

inputFormat

The input consists of several lines:

  1. The first line contains an integer \(n\) (\(n \geq 2\)), the number of clinical experiments.
  2. The second line contains a floating-point number representing the effectiveness rate \(x\) of the cocktail therapy.
  3. Each of the following \(n-1\) lines contains a floating-point number representing the effectiveness rate \(y\) of an improved therapy.

outputFormat

For each of the \(n-1\) improved therapies, output a single line containing one of the words: Better, Worse, or Same, depending on the comparison with the cocktail therapy as described below:

  • If \(y - x > 0.05\), output Better.
  • If \(x - y > 0.05\), output Worse.
  • Otherwise, output Same.

sample

2
0.75
0.81
Better