@@ -0,0 +1,577 @@
+#!/bin/python3%0A%0Adef getRecord(scores):%0A    highest_score = scores%5B0%5D%0A    lowest_score = scores%5B0%5D%0A    times_score_increased = 0%0A    times_score_decreased = 0%0A    for score in scores:%0A        if score %3E highest_score:%0A            highest_score = score%0A            times_score_increased += 1%0A        elif score %3C lowest_score:%0A            lowest_score = score%0A            times_score_decreased += 1%0A    return times_score_increased, times_score_decreased%0A%0A_ = int(input().strip())%0ASCORES = list(map(int, input().strip().split(' ')))%0Aprint (%22 %22.join(map(str, getRecord(SCORES))))%0A

Solve breaking the records