


x = 1

while x != 0:
    year = int(input("Enter the year."))
    month = int(input("Enter the month."))
    break


import calendar

print(calendar.month_name[month], year, "has", calendar.monthrange(year, month)[1], "days.")


