def check_monthnumb_number(monthnum2):
    months_with_31 = [1, 3, 5, 7, 8, 10, 12]
    return monthnum2 in months_with_31