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