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