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