def intersection(setA: list, setB: list):
    """
    intersection of two lists with basic datatype
    """
    setC = []
    for item in setA:
        if item in setB:
            setC.append(item)
    return setC
