#include <bits/stdc++.h>
using namespace std;
long long pow2(long long n) {
  if (n >= 56) {
    return 0;
  }
  if (n == 0) {
    return 1;
  }
  long long a = pow2(n / 2);
  if (n % 2 == 0) {
    return a * a;
  } else {
    return a * a * 2;
  }
}
long long l0 = 75, l1 = 34, l2 = 32, l3 = 2;
long long l(long long n) {
  if (pow2(n) == 0) {
    return 0;
  } else {
    return pow2(n) * l0 + (pow2(n) - 1) * (l1 + l2 + l3);
  }
}
int main() {
  string s0 =
      "What are you doing at the end of the world? Are you busy? Will you save "
      "us?";
  string s1 = "What are you doing while sending ";
  s1 += char(34);
  string s2 = "";
  s2 += char(34);
  s2 += "? Are you busy? Will you send ";
  s2 += char(34);
  string s3 = "";
  s3 += char(34);
  s3 += "?";
  int q;
  cin >> q;
  string S = "";
  int z;
  for (int t = 0; t < q; ++t) {
    long long n, k;
    cin >> n >> k;
    k--;
    z = 0;
    if (l(n) != 0 && l(n) < k) {
      S += ".";
    } else {
      while (true) {
        if (n == 0) {
          if (k < l0) {
            S += s0[k];
          } else {
            S += ".";
          }
          break;
        }
        if (z == 0) {
          if (k < l1) {
            S += s1[k];
            break;
          } else {
            z = 1;
            k -= l1;
          }
        }
        if (z == 1) {
          if (l(n - 1) == 0 || k < l(n - 1)) {
            z = 0;
            n--;
          } else {
            z = 2;
            k -= l(n - 1);
          }
        }
        if (z == 2) {
          if (k < l2) {
            S += s2[k];
            break;
          } else {
            z = 3;
            k -= l2;
          }
        }
        if (z == 3) {
          if (l(n - 1) == 0 || k < l(n - 1)) {
            z = 0;
            n--;
          } else {
            z = 4;
            k -= l(n - 1);
          }
        }
        if (z == 4) {
          if (k < l3) {
            S += s3[k];
            break;
          } else {
            z = 5;
            k -= l3;
          }
        }
        if (z == 5) {
          S += ".";
          break;
        }
      }
    }
  }
  cout << S;
  return 0;
}
