y=int(input()) if y%400==0: print("leap year") else: if y%4==0 and y%100!=0: print("leap year") else: print("not leap year")