#include <bits/stdc++.h>
using namespace std;
int MAX(int a, int b) {
  if (a < b) {
    int tmp = a;
    a = b;
    b = tmp;
  }
  int r = a % b;
  while (!r) {
    a = b;
    b = r;
    r = a % b;
  }
  return r;
}
int main() { cout << "Yes" << endl; }
