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