def sort_uniq(l: list) -> list:
    """
    1.1
    Remove the duplicates in a sorted list
    """
    if len(l) == 0: return l

    i = 1
    rst = [l[0]]

    while i != len(l):
        if l[i - 1] != l[i]:
            rst.append(l[i])
        i += 1

    return rst