#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d, e, f[10000];
  cin >> a;
  for (int i = 0; i < a; i++) {
    cin >> b >> c >> d;
    if (b > (d * 10)) {
      for (int j = 0; j < c; j++) {
        b = (b / 2) + 10;
      }
      b = b - d * 10;
      if (b <= 0) {
        f[i] = 1;
      } else {
        f[i] = 0;
      }
    } else {
      f[i] = 1;
    }
  }
  for (int i = 0; i < a; i++) {
    if (f[i] == 0) {
      cout << "NO" << '\n';
    } else {
      cout << "YES" << '\n';
    }
  }
  return 0;
}
