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