#include <bits/stdc++.h>
using namespace std;
int calc(int x, int n, int m) {
  if (x <= 10 * m)
    return -1;
  else if (x <= 20)
    return 0;
  int ans = (x / 2) + 10;
  if (n != 0) return calc(ans, n - 1, m);
  return 0;
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t, x, n, m, temp, ar[12];
  cin >> t;
  while (t--) {
    cin >> x >> n >> m;
    temp = calc(x, n, m);
    if (temp == -1) {
      cout << "YES" << endl;
    } else
      cout << "NO" << endl;
  }
  return 0;
}
