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