#make a menu-based terminal calculator that allows the user to select the results
'''
val1=int(input("enter the 1st value"))
val2=int(input("enter the 2nd value"))
ch=input("enter your choice ")
while True:
    if ch=='+':
        print(val1+val2)
        print("menu\n ch1 + \n ch2 - \n ch3 * \n ch4 / \n ch5 quit")
        val1=int(input("enter the first value"))
        val2=int(input("enter the 2nd value"))
        choice=input("enter your choice")

     if ch=='-':
        print(val1-val2)
        print("menu\n ch1 + \n ch2 - \n ch3 * \n ch4 / \n ch5 quit")
        val1=int(input("enter the first value"))
        val2=int(input("enter the 2nd value"))
        choice=input("enter your choice")

     if ch=='*':
         print(val1*val2)
         print("menu\n ch1 + \n ch2 - \n ch3 * \n ch4 / \n ch5 quit")
         val1 = int(input("enter the first value"))
         val2 = int(input("enter the 2nd value"))
         choice = input("enter your choice")

      if ch=='/':
          print(val1/val2)
          print("menu\n ch1 + \n ch2 - \n ch3 * \n ch4 / \n ch5 quit")
          val1 = int(input("enter the first value"))
          val2 = int(input("enter the 2nd value"))
          choice = input("enter your choice")

       if ch=='quit'
          print('quit program')
          break
'''
#program to check if the year is leap or not.
year=int(input("enter a year"))
if year%4 ==0:
    print("it is a leap year")
else:
    print("it is not a leap year")



#name=input("enter your name")
#age=input("enter your age")
#mobile_no=int(input("enter mobile_no"))
#while True:



