#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, h, t, n, m, x;
  cin >> t;
  int ans[t];
  for (i = 0; i < t; i++) {
    cin >> x >> n >> m;
    for (j = 0; j < n && x > 20; j++) {
      x = x / 2;
      x = x + 10;
    }
    x = x - (m * 10);
    if (x <= 0)
      ans[i] = 1;
    else
      ans[i] = 0;
  }
  for (i = 0; i < t; i++) {
    if (ans[i] == 1)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
  return 0;
}
