def question_answers(conversations):
    """ Divide the dataset into two sets: questions and answers. """
    questions, answers = [], []
    for convo in conversations:
        for index in range(len(convo) - 1):
            questions.append(convo[index])
            answers.append(convo[index + 1])
    assert len(questions) == len(answers)
    return questions, answers