#include <bits/stdc++.h>
#pragma GCC optimize("Ofast,no-stack-protector")
#pragma GCC target("avx,tune=native")
using namespace std;
template <typename T>
using pq_gt = priority_queue<T, vector<T>, greater<T>>;
template <typename T>
using pq_lt = priority_queue<T, vector<T>, less<T>>;
int main() {
  ios::sync_with_stdio(false);
  int r, b;
  cin >> r >> b;
  if (r == b) {
    cout << "Yes\n";
  } else {
    cout << "No\n";
  }
}
