#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  srand((unsigned)time(NULL));
  for (int query = 0; query < t; query++) {
    if (rand() % 2 == 0)
      cout << "No" << endl;
    else
      cout << "Yes" << endl;
  }
  return 0;
}
