def build_tag(row, list_tags):
    """
    Create list of selected tags.

    Parameters
    ----------
    row : list
        list of tags
    list_tags: list
        tags to be used

    Returns
    -------
    new_list: list
        list of selected tags
    """
    new_list = []
    for _, val in enumerate(row):
        if val in list_tags:
            new_list.append(val)
    del row
    return new_list