#include <bits/stdc++.h>
using namespace std;
int main() {
  srand(time(NULL));
  char s[] =
      "100100000111111101010010010001010101110110110111010011111100100000000010"
      "100011011000000100101100011111000101011000111100010111010001000101111111"
      "10100";
  for (int i = 0; i < 216; i++) {
    if (i < 100) {
      if (s[i] == '1')
        puts("YES");
      else
        puts("NO");
    } else {
      if (rand() & 1)
        puts("YES");
      else
        puts("NO");
    }
  }
  return 0;
}
