def find_ch_interest_dict(show_channel_dict : dict, usr_pref_dict : dict):
    """Pass in show_channel_dict {show:channels} and usr_pref_dict {show: rating}. Returns dictionary {channel : total rating}"""
    ch_interest_dict = {}
    for show in usr_pref_dict:
        if show in show_channel_dict:
            if show_channel_dict[show] in ch_interest_dict:
                ch_interest_dict[show_channel_dict[show]] += usr_pref_dict[show]
            else:
                ch_interest_dict[show_channel_dict[show]] = usr_pref_dict[show]
    return ch_interest_dict