import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int x = stdIn.nextInt(); int g = 0; int c = 2; int p = 5; boolean flag = false; if(x == 0 || x == 4 || x== 10) { System.out.println("Yes"); }else { System.out.println("No"); } } }