def populate_usr_pref_dict(user_pref_lst : list, shows : list):
    """
Pass in list of user preferences [show, rating] and list of shows.
Return dictionary with show as key and rating as value and list of shows not found.
"""
    
    dictionary = {}
    not_found = []
    for row in user_pref_lst:
        if row[0] in shows:
            dictionary[row[0]] = int(row[1])
        else:
            not_found.append(row[0])
    return dictionary, not_found