#include <bits/stdc++.h>
using namespace std;
const long long int mod = 1000000000 + 7;
const long long int N = 10000000 + 6;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int x, n, m;
    cin >> x >> n >> m;
    for (int i = 1; i <= n; i++) {
      if (x <= 20)
        break;
      else
        x = x / 2 + 10;
    }
    if (10 * m >= x)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
  return 0;
}
