text: /****************************************************************************************
  *  @author: kzvd4729                                         created: 2020-01-19 17:51:09                      
  *  solution_verdict: AC                                      language: C++14 (GCC 5.4.1)                       
  *  run_time: 1 ms                                            memory_used: 256 KB                               
  *  problem: https://atcoder.jp/contests/abc152/tasks/abc152_a
  ****************************************************************************************/
  #include<bits/stdc++.h>
  #define long long long
  using namespace std;
  const int N=1e6,inf=1e9;
  int main()
  {
    ios_base::sync_with_stdio(0);cin.tie(0);
     int n,m;cin>>n>>m;
    if(n==m)cout<<"Yes\n";else cout<<"No"<<endl;
      return 0;
  }