#include <bits/stdc++.h>
using namespace std;
int main() {
  int T;
  cin >> T;
  for (int t = 0; t < T; t++) {
    int x, n, m;
    cin >> x >> n >> m;
    bool done = false;
    if (x <= 10 * m) {
      done = true;
    } else {
      for (int i = 0; i < n; i++) {
        x = (int)(x / 2) + 10;
        if (x <= 10 * m) {
          done = true;
          break;
        }
      }
    }
    if (done) {
      cout << "YES\n";
    } else {
      cout << "NO\n";
    }
  }
}
