#include <bits/stdc++.h>
using namespace std;
int t;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> t;
  while (t--) {
    int x, n, m;
    cin >> x >> n >> m;
    while (true) {
      int k = int(x / 2) + 10;
      if (k >= x) break;
      if (n > 0) {
        x = k;
        n--;
      }
      if (!n) break;
    }
    x -= m * 10;
    if (x <= 0) {
      cout << "YES" << endl;
      continue;
    }
    cout << "NO" << endl;
  }
  return 0;
}
