#include <bits/stdc++.h>
using namespace std;
bool check(long long n, long long pos) { return (n & (1 << pos)); }
bool Set(long long n, long long pos) { return (n | (1 << pos)); }
long double LOG(long double b, long double e) { return log(b) / log(e); }
vector<int> v1[200005], v2[200005], comps[200005], vv;
vector<pair<int, int> > v;
int st[200005], en[200005], cnt = 1, level[200005], par[200005];
bitset<200005> b1, yes;
void solve() {
  int n, a, b, cc;
  cin >> n >> a >> b;
  bool ok = 0;
  cc = b * 10;
  while (1) {
    if (cc >= n) {
      ok = 1;
      break;
    }
    if (a) {
      n /= 2;
      n += 10;
      --a;
    }
    if (cc >= n) {
      ok = 1;
      break;
    }
    if (a == 0) break;
  }
  ok ? cout << "YES\n" : cout << "NO\n";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t;
  t = 1;
  cin >> t;
  while (t--) solve();
  return 0;
}
