import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String name = sc.nextLine(); int moji = 17; if(moji < 18){ System.out.println("Yes"); } } }