month = -1
while ((month < 1) or (month > 12)):
    month = int(input("Enter birth month (1-12): "))

print(month)
