def get_evaluations_and_evaluated(evaluations, evaluated_signatures):
    """Return a dictionary with the exams, students-signatures and evaluated students-signatures"""
    result = []
    for exam_dict in evaluations:
        exam_data = {'exam': exam_dict['exam'],
                        'groups': exam_dict['groups']}
        for exam_eval_dict in evaluated_signatures:
            if exam_eval_dict['exam'] == exam_dict['exam']:
                exam_data['evaluated_groups'] = exam_eval_dict['groups']
        result.append(exam_data)
    return result