#include <bits/stdc++.h>
using namespace std;
string to_string(string s) { return '"' + s + '"'; }
string to_string(char s) { return string(1, s); }
string to_string(const char* s) { return to_string((string)s); }
string to_string(bool b) { return (b ? "true" : "false"); }
const long long mod = 1000000007;
bool sieve[100005];
void do_sieve(long long n) {
  memset(sieve, true, sizeof(sieve));
  for (long long p = 2; p * p <= n; p++)
    if (sieve[p] == true)
      for (long long i = p * p; i <= n; i += p) sieve[i] = false;
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0),
      cin.exceptions(cin.failbit);
  int t;
  cin >> t;
  while (t--) {
    long long x, n, m;
    cin >> x >> n >> m;
    long long prev = x;
    while (n--) {
      x = x / 2;
      x += 10;
      if (x >= prev) {
        x = prev;
        break;
      }
    }
    if (x > 10 * 1ll * m)
      cout << "NO" << '\n';
    else
      cout << "YES" << '\n';
  }
}
