#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  long long tc, a, b, n, c = 0;
  scanf("%lld", &tc);
  while (tc--) {
    scanf("%lld %lld", &a, &b);
    scanf("%lld", &c);
    while (b--) {
      if (a <= 20) break;
      a = a / 2;
      a = a + 10;
    }
    if (a <= c * 10) {
      cout << "YES" << endl;
    } else
      cout << "NO" << endl;
  }
  return 0;
}
