import calendar


def get_month_number(month):
    """
        Returns corresponding month number from month name
    """
    abbr_to_num = {name: num for num, name in enumerate(calendar.month_abbr) if num}
    month_number = abbr_to_num[month.capitalize()[:3]]
    return month_number