import random


def random_pick(new_dict):
    """
        Given a graph dictionary, return a randomly selected pair a and b.
    """
    a = random.choice(list(new_dict.keys()))
    b = random.choice(new_dict[a])
    
    selected_pair = (a,b)
    return selected_pair