#include <stdio.h>
int main( )
{
int x;
scanf("%d",&x);
if(x%400==0||(x%4==0&&x%100!=0))
printf("yes\n");
else
printf("no\n");
return 0;
}
#include <stdio.h>
int main( )
{
int x;
scanf("%d",&x);
if(x%400==0||(x%4==0&&x%100!=0))
printf("yes\n");
else
printf("no\n");
return 0;
}