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