#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
const ll N = 1e5 + 123, MOD = 1e9 + 7, oo = 1e9 + 9, INF = 1e18 + 9;
const double EPS = 1e-9, PI = acos(-1);
const int dx[] = {1, -1, 0, 0, 1, 1, -1, -1},
          dy[] = {0, 0, 1, -1, 1, -1, -1, 1};
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
  int _;
  for (cin >> _; _; _--) {
    int x, n, m;
    cin >> x >> n >> m;
    int _x = x;
    bool flag = false;
    for (int i = 0; i < n; i++) {
      x = x / 2 + 10;
      if (x <= m * 10) {
        cout << "YES\n";
        flag = true;
        break;
      }
    }
    if (flag) continue;
    if (x <= m * 10) {
      cout << "YES\n";
      continue;
    }
    x = _x;
    if (x <= m * 10) {
      cout << "YES\n";
      continue;
    }
    cout << "NO\n";
  }
  return 0;
}
