#闰年就是能被4整除,且不能被100整数,或者能被400整数
n=int(input())
if (n%4==0 and n%100!=0 or n%400==0):
    print("yes")
else:
    print("no")