#include <bits/stdc++.h>
using namespace std;
const long long INF = 1e9 + 7;
const int N = 2e2 + 10;
int main() {
  int n, m;
  cin >> n >> m;
  if (n != m)
    puts("No");
  else
    puts("Yes");
  return 0;
}
