#K7966. Sports Team Ranking
Sports Team Ranking
Sports Team Ranking
This problem requires you to determine the performance ranking of a sports team based on the number of wins, draws, and losses. The ranking criteria are defined as follows:
- If the number of wins \(> 20\), then the team is a Champion.
- If the number of wins is greater than 15 and there are no losses, then the team is a Top Team.
- If the team has more than 10 wins or at least 5 draws, then the ranking is Average Team.
- Otherwise, the team is considered an Underperformer.
You will be given three integers representing the number of wins, draws, and losses. Your task is to output the correct ranking based on the above criteria.
inputFormat
The input is read from standard input (stdin) and contains three integers separated by spaces. These integers represent the number of wins, draws, and losses, respectively.
For example:
22 3 2
outputFormat
The output is a single line printed to standard output (stdout) indicating the team's ranking based on its performance. The output should be one of the following: Champion, Top Team, Average Team, or Underperformer.
## sample22 3 2
Champion