#include <bits/stdc++.h>
using namespace std;
int arr[100005], color[100005];
int main() {
  int n, m;
  cin >> n >> m;
  if (n == m)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
