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