#C1789. Taco: Qualification Checker

    ID: 45032 Type: Default 1000ms 256MiB

Taco: Qualification Checker

Taco: Qualification Checker

You are given the results of participants in several rounds of a competition. For each participant, you are provided with an integer M (the number of rounds) and M scores. A participant is said to be "Qualified" if they meet the following criteria:

  • No score is 0.
  • The average of their scores is at least $\frac{\text{sum of scores}}{M} \ge 60$.

If any score is 0 or the average is less than 60, the participant is "Disqualified".

Your task is to process the input, determine the qualification status for each participant, and output the results.

inputFormat

The input is read from standard input (stdin) and has the following format:

P
M1
score11 score12 ... score1M1
M2
score21 score22 ... score2M2
...
MP
scoreP1 scoreP2 ... scorePMp

Here, P denotes the number of participants. For each participant, the first line contains an integer M, the number of rounds, followed by a line containing M space-separated integers representing the scores for each round.

outputFormat

The output is written to standard output (stdout). For each participant, output a single line containing either "Qualified" or "Disqualified" based on their results.

## sample
2
3
50 80 90
4
65 70 85 0
Qualified

Disqualified

</p>