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