def flatten_dictionary(dictionary):
    """Get a list of tuples with the key value pairs of the dictionary. """
    result = []
    for k, s in dictionary.items():
        for v in s:
            result.append((k, v))
    return result