def fre(arrs):
    sorted_arrs = [sorted(arr) for arr in arrs]
    fre = []
    for arr in sorted_arrs:
        fre.append(list(Counter(arr).items())[0][1])
    return fre
def fre(arrs):
    sorted_arrs = [sorted(arr) for arr in arrs]
    fre = []
    for arr in sorted_arrs:
        fre.append(list(Counter(arr).items())[0][1])
    return fre