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