#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  ;
  long long i, j, k, arr[100000], l, m, n, x, coun, sum, ans, T, check;
  char str[100000];
  vector<long long> v;
  string s;
  cin >> n >> m;
  if (n != m)
    cout << "No"
         << "\n";
  else
    cout << "Yes"
         << "\n";
  return 0;
}
