#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const long long inf = 2e18 + 5;
const long long MAXN = 2e6 + 5;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t;
  cin >> t;
  while (t--) {
    long long x, n, m;
    cin >> x >> n >> m;
    long long f = 0;
    while (x > 20 && n > 0) {
      x = x / 2 + 10;
      n--;
    }
    if (x > m * 10)
      cout << "NO" << endl;
    else
      cout << "YES" << endl;
  }
  return 0;
}
