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