#K50997. Race Qualification Checker

    ID: 28988 Type: Default 1000ms 256MiB

Race Qualification Checker

Race Qualification Checker

You are given a race event with N participants and a time limit T. Each participant's race completion time is given. A participant is QUALIFIED if their race time satisfies the inequality $$time \le T$$, and DISQUALIFIED otherwise.

Your task is to determine the qualification status for each participant and output the results line by line.

inputFormat

The first line of input contains two integers N (the number of participants) and T (the time limit for qualification). The second line contains N space-separated integers representing the race completion times for each participant.

outputFormat

Output N lines. Each line should contain either "QUALIFIED" or "DISQUALIFIED" corresponding to each participant's race time.

## sample
4 120
110 130 115 90
QUALIFIED

DISQUALIFIED QUALIFIED QUALIFIED

</p>