#include <bits/stdc++.h>
using namespace std;
int main() {
  long long t;
  cin >> t;
  while (t--) {
    long long x, a, b, c, m, d, n, i, j, k;
    cin >> x >> n >> m;
    while (x >= 20 && n > 0) {
      d = x / 2;
      x = d + 10;
      n--;
    }
    if (x <= m * 10)
      cout << "YES\n";
    else
      cout << "NO\n";
  }
  return 0;
}
