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