def get_question_type(question_id, questions):
    """
    Return 'Number' or 'Boolean' depending on the question's type.
    """
    question = questions[question_id]
    question_class = question[0]
    if question_class in ('Y'):
        return 'Boolean'
    return 'Number'