import java.io.BufferedReader; 
import java.io.IOException; 
import java.io.InputStreamReader; 
import java.util.StringTokenizer; 
import java.util.*;
  
/*
BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); 
StringTokenizer st = new StringTokenizer(br.readLine()); 
int n = Integer.parseInt(st.nextToken());
*/
public class Main {  
	private static Set<String> cache;
	private static Map<String, Boolean> dp;
    public static void main(String[] args) throws IOException { 
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); 
		StringTokenizer st = new StringTokenizer(br.readLine()); 
		int n = Integer.parseInt(st.nextToken());
		int k = Integer.parseInt(st.nextToken());
		if (n==k) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}

}
/* 
if ends in i add u
double
iii -> u
uu -> ""
*/
