import java.util.*; import java.io.*; import java.math.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A, B; // 입력받을 변수 while(true) { A = sc.nextInt(); B = sc.nextInt(); if (A == 0 && B == 0) break; System.out.println(A > B ? "Yes" : "No"); } } }