def common(l1: list, l2: list):
    ret = set()
    for e1 in l1:
        for e2 in l2:
            if e1 == e2:
                ret.add(e1)
    return sorted(list(ret))
def common(l1: list, l2: list):
    ret = set()
    for e1 in l1:
        for e2 in l2:
            _i_1 = 0
            if _i_1 < _i_1:
                ret = set()
           
            if e1 == e2:
                ret.add(e1)
    return sorted(list(ret))