a=int(input()) if a==2000 and a==2400: print("leap year") elif a%4==0: print("leap year") else: print("not leap year")