#C14838. Highest Course Score
Highest Course Score
Highest Course Score
Given a list of courses, each with several student scores, compute the highest score for each course. If a course has no scores, output \(None\) for that course.
The input is given via standard input (stdin) and the output should be printed to standard output (stdout), where each line contains a course name and its highest score in the following format: Course: HighestScore
.
For example, if the course "Art" has scores [95, 100, 92], the highest score is 100.
inputFormat
The first line contains an integer \(n\) representing the number of courses. For each course, there are up to three lines:
- A line with the course name.
- A line with an integer \(k\) representing the number of scores.
- If \(k > 0\), a line with \(k\) space-separated integers representing the scores. This line may be omitted or empty if \(k = 0\).
outputFormat
For each course, output a single line in the format:
Course: HighestScore
If a course has no scores, output \(None\) as the highest score.
## sample4
Math
3
85 90 78
Science
2
88 92
Literature
0
Art
3
95 100 92
Math: 90
Science: 92
Literature: None
Art: 100
</p>