#include <bits/stdc++.h>
using namespace std;
int read() {
  char c;
  int x;
  while (c = getchar(), c < '0' || c > '9')
    ;
  x = c - '0';
  while (c = getchar(), c >= '0' && c <= '9') x = x * 10 + c - '0';
  return x;
}
int n, m;
int main() {
  n = read();
  m = read();
  if (n == m)
    puts("Yes");
  else
    puts("No");
  return 0;
}
