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