def extra_same_elem(list1: list, list2: list) -> list:
    """

    extract the same part between 2 lists

    Args:
        list1: list 1
        list2: list 2

    Returns:
        same part between 2 lists

    """
    set1 = set(list1)
    set2 = set(list2)
    same_elem = set1.intersection(set2)

    return list(same_elem)