#C6090. Determine Participant Skill Levels

    ID: 49812 Type: Default 1000ms 256MiB

Determine Participant Skill Levels

Determine Participant Skill Levels

Given the scores of participants across various test cases, determine each participant's skill level based on the following criteria:

  • \(0 \leq score \leq 50\): Beginner
  • \(51 \leq score \leq 75\): Intermediate
  • \(76 \leq score \leq 100\): Advanced

For each test case, you are given a list of space-separated scores. Convert every score in the list to its corresponding skill level and output them in order, separated by a single space.

inputFormat

The first line contains an integer \(T\) (number of test cases). Each of the following \(T\) lines contains a single test case with space-separated integers representing the scores.

Constraints: \(1 \leq T \leq 100\) and each score is an integer within \([0, 100]\).

outputFormat

For each test case, output one line containing the corresponding skill level for each score, separated by a single space.

## sample
3
23 47 50
60 72 75
89 91 100
Beginner Beginner Beginner

Intermediate Intermediate Intermediate Advanced Advanced Advanced

</p>