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