#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int x, n, m, temp;
    bool h = 0;
    cin >> x >> n >> m;
    if (x > 10) {
      while (n != 0) {
        x = (x / 2) + 10;
        n--;
      }
    }
    if (x - (m * 10) <= 0) h = 1;
    if (!h)
      cout << "NO\n";
    else
      cout << "YES\n";
  }
}
