#include <bits/stdc++.h>
using namespace std;
long long t, h, n, m;
void print_solution(string sol) { cout << sol << endl; }
int absorption(long long hp) { return (hp / 2) + 10; }
void solve() {
  cin >> h >> n >> m;
  while (m > 0) {
    long long abs_dmg = absorption(h);
    if (n > 0 && abs_dmg < h) {
      h = abs_dmg;
      n -= 1;
    } else {
      h -= 10 * m;
      m = 0;
    }
  }
  if (h <= 0) {
    print_solution("Yes");
  } else {
    print_solution("No");
  }
}
int main() {
  cin >> t;
  for (int i = 0; i < t; i++) {
    solve();
  }
  return 0;
}
