#include <bits/stdc++.h>
using namespace std;
const long long int MOD = 1e9 + 7;
void solve() {
  long long int n, a, m, x;
  cin >> x >> n >> m;
  while (n > 0) {
    long long int val1 = x / 2;
    val1 += 10;
    if (val1 < x) {
      n--;
      x = val1;
    } else {
      break;
    }
  }
  while (m > 0) {
    x -= 10;
    m--;
  }
  if (x > 0) {
    cout << "NO" << endl;
  } else {
    cout << "YES" << endl;
  }
}
int main(void) {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int t;
  cin >> t;
  while (t--) solve();
  return 0;
}
