#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  int t, x, n, m, s, flg = 0;
  cin >> t;
  while (t--) {
    s = 0;
    flg = 0;
    cin >> x >> n >> m;
    while (x > 19 && n > 0) {
      x = (x / 2) + 10;
      n--;
    }
    x = x - (m * 10);
    if (x < 1) {
      cout << "YES" << endl;
      cout << flush;
    } else {
      cout << "NO" << endl;
      cout << flush;
    }
  }
  return 0;
}
