import java.util.Scanner; public class No969{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int str = sc.nextInt(); if (str == 0 && str == 4 && str == 10){ System.out.println("Yes"); } else { System.out.println("No"); } } }