#include <iostream>
using namespace std;
#include<cstring>
#include<cmath>
#include<cstdio>
#include<string>
#include<string.h>
#include<stdio.h>
#include <vector>
#include <map>
#include <set>
#include<algorithm>
#include<iterator>
#include<bits/stdc++.h>
typedef long long int lli;
typedef long long ll;
int i, j, k;
int BinarySearch(int a[], int l, int h, int x);

int main()
{
    int m,n;
    cin>>n>>m;
    if(n==m)
    {
        cout<<"Yes"<<endl;
        
    }
    else
    {
        cout<<"No"<<endl;
    }
    
    
    
    
    return 0;
}
