#include <bits/stdc++.h>
using namespace std;
long long n, a[100][100], d[100][100], b[100][100] = {};
int main() {
  long long a, b;
  cin >> a >> b;
  if (a != b)
    cout << "No";
  else
    cout << "Yes";
}
