#include <bits/stdc++.h>
using namespace std;
int T;
int x, n, m;
int main() {
  for (scanf("%d", &T); T; T--) {
    scanf("%d%d%d", &x, &n, &m);
    while (x > 20 && n > 0) {
      x = x / 2 + 10;
      n--;
    }
    if (x - m * 10 <= 0)
      printf("YES\n");
    else
      printf("NO\n");
  }
}
