def find_singleton(input_dict):
    """
    Given an input dictionary of sequences, find a length 1 sequence and return its key and element
    """
    for key, seq in input_dict.items():
        if len(seq) == 1:
            return key, seq.pop()
    # No length 1 sequence (e.g. singleton set) found in the input dictionary
    return False