import java.util.*;
public class t5{
public static void main(String[] args){
Scanner in=new Scanner(System.in);
System.out.println("input a year");
int year=in.nextInt();
if(year%4==0&&year%100!==0||year%400==0){
System.out.println(year+"yes");
}else{
System.out.println(year+"no");
}
}
}