n = int(input())
print('yes' if n%400==0 or n%4==0 and n%100!=0 else 'no')