#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[n], b[n], c[n], d[n];
  for (int i = 0; i < n; i++) {
    if (a[i] - b[i] <= c[i]) {
      a[i] = a[i] - b[i] + d[i];
    }
    if (a[i] >= b[i]) {
      cout << "Yes";
    } else {
      cout << "No";
    }
  }
  return 0;
}
