YearNumber = int(input()) if YearNumber % 4 == 0: if YearNumber % 100 == 0: if YearNumber % 400 == 0: print("yes") else: print("no") else: print("yes") else: print("no")