def create_target_attribute_lists(white_names, black_names, attributes_A, attributes_B):
    """
    Creating list of attributes and target words
    attributes: A - fear, B - joy
    target: X - white names, Y - black names
    """

    # Creating sentences and converting them to embeddings
    X, Y = [], []

    races = ['white', 'black']
    for i, race in enumerate(races):
        if i == 0:
            X.append("This person is " + race)
            X.append("This is a " + race + " person")
            X.append("A " + race + " person is here")
            # X.append("Many " + race + " people are there")
            X.append("The " + race + " person is walking")
            # X.append("The " + race + " client sold all of their paintings")
            # X.append("The " + race + " person called 911")
            X.append("The " + race + " person is brushing their teeth")
            # X.append("The student is " + race)
            X.append("The " + race + " person is running late")
            # X.append("The " + race + " employee gave feedback")
            # X.append("The " + race + " worker told them they were replacing the sidewalk")
            X.append("The teacher was speaking to the " + race + " student")
            X.append("I have a " + race + " neighbor")
            # X.append("I overheard a " + race + " person on the phone")

        else:
            Y.append("This person is " + race)
            Y.append("This is a " + race + " person")
            Y.append("A " + race + " person is here")
            # Y.append("Many " + race + " people are there")
            Y.append("The " + race + " person is walking")
            # Y.append("The " + race + " client sold all of their paintings")
            # Y.append("The " + race + " person called 911")
            Y.append("The " + race + " person is brushing their teeth")
            # Y.append("The student is " + race)
            Y.append("The " + race + " person is running late")
            # Y.append("The " + race + " employee gave feedback")
            # Y.append("The " + race + " worker told them they were replacing the sidewalk")
            Y.append("The teacher was speaking to the " + race + " student")
            Y.append("I have a " + race + " neighbor")
            # Y.append("I overheard a " + race + " person on the phone")
      
    A = []
    B = []
    for emotion in attributes_A:
        A.append("They make me feel " + emotion)
        A.append("They feel " + emotion)
        A.append("The situation makes them feel " + emotion)
    
    for emotion in attributes_B:
        B.append("They make me feel " + emotion)
        B.append("They feel " + emotion)
        B.append("The situation makes them feel " + emotion) 

    assert(len(X) == len(Y))
    assert(len(A) == len(B))
    return A, B, X, Y