#include <bits/stdc++.h>
using namespace std;
int main() {
  long long t;
  cin >> t;
  long long x, n, m;
  for (long long i = 1; i <= t; i++) {
    cin >> x >> n >> m;
    long long flag = 0;
    while (n--) {
      if (x <= (m * 10)) {
        flag = 1;
        break;
      }
      x = floor(x / 2) + 10;
    }
    if (x <= (m * 10)) {
      flag = 1;
    }
    if (flag)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
  return 0;
}
