#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long t;
  cin >> t;
  for (long long hh = 0; hh < t; hh++) {
    long long x, n, m;
    cin >> x >> n >> m;
    if (x - m * 10 <= 0) {
      cout << "YES" << endl;
      continue;
    }
    while (n--) {
      x = x / 2;
      x += 10;
    }
    long long ans = x / 10;
    if (x % 10) ans++;
    if (ans > m)
      cout << "NO" << endl;
    else
      cout << "YES" << endl;
  }
}
