#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int x, n, m;
    cin >> x >> n >> m;
    int h = x;
    int l = 0;
    while (n) {
      if (h <= m * 10) {
        l = 1;
        break;
      } else {
        h = (h / 2) + 10;
      }
      n--;
    }
    if (h <= m * 10) {
      l = 1;
    }
    if (l == 1) {
      cout << "YES" << endl;
    } else {
      cout << "NO" << endl;
    }
  }
}
