def find_max_min(n):
    min_num = min(n)
    max_num = max(n)
    if min_num == max_num:
        return [len(n)]
    else:
        return [min_num, max_num]

7e43091fbb07800bb6e21a3714c838a5e40b73df
<mask token>

def find_max_min(n):
    min_num = min(n)
    max_num = max(n)
    if min_num == max_num:
        return [len(n)]
    else:
        return [min_num, max_num]
