#include <bits/stdc++.h>
using namespace std;
int main() {
  int cases;
  cin >> cases;
  for (int t = 0; t < cases; t++) {
    int h, m, n;
    cin >> h >> m >> n;
    if (h < 20) {
      h -= n * 10;
      if (h <= 0) {
        cout << "yes" << endl;
      } else {
        cout << "no" << endl;
      }
    } else {
      h = h / pow(2, m) + 20 - 10 / pow(2, (m - 1));
      h -= n * 10;
      if (h <= 0)
        cout << "yes" << endl;
      else
        cout << "no" << endl;
    }
  }
  return 0;
}
