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