#include <bits/stdc++.h>
#pragma GCC optimize("O3")
const int INF = 1e9;
const int MOD = 1e9 + 7;
const int N = 1e5;
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int q;
  cin >> q;
  while (q--) {
    int h, n, m;
    cin >> h >> n >> m;
    if (h - m * 10 <= 0) {
      cout << "YES\n";
    } else {
      bool isOk = false;
      while (n--) {
        h /= 2;
        h += 10;
        if (h <= m * 10) {
          cout << "YES\n";
          isOk = true;
          break;
        }
      }
      if (!isOk) {
        cout << "NO\n";
      }
    }
  }
  return 0;
}
