def intersection_of_sorted(a: list, b: list) -> list: pass