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