#include <bits/stdc++.h>
using namespace std;
const long double pi = acosl(-1);
const int maxn = 110;
const long long mod = 1e9 + 7;
const int inf = 1e9;
const long double eps = 1e-10;
string f =
    "What are you doing at the end of the world? Are you busy? Will you save "
    "us?";
string t =
    "What are you doing while sending \"\"? Are you busy? Will you send \"\"?";
string p1 = "What are you doing while sending \"";
string p2 = "\"? Are you busy? Will you send \"";
string p3 = "\"?";
int q, n;
long long k;
long long a[maxn];
int main() {
  scanf("%d", &q);
  long long len = t.length();
  long long l1 = p1.length(), l2 = p2.length(), l3 = p3.length();
  for (int i = 0; i < 100; i++) {
    if (i == 0)
      a[0] = f.length();
    else
      a[i] = a[i - 1] * 2 + t.length();
  }
  for (int i = 0; i < q; i++) {
    scanf("%d%lld", &n, &k);
    if (n <= 53 && k > a[n]) {
      printf(".");
      continue;
    }
    k--;
    while (1) {
      if (n == 0) {
        printf("%c", f[k]);
        break;
      }
      if (k < l1) {
        printf("%c", p1[k]);
        break;
      } else if (n > 53 || k < l1 + a[n - 1]) {
        k -= l1;
        n--;
      } else if (k < l1 + a[n - 1] + l2) {
        k -= l1 + a[n - 1];
        printf("%c", p2[k]);
        break;
      } else if (k < l1 + a[n - 1] + l2 + a[n - 1]) {
        k -= l1 + a[n - 1] + l2;
        n--;
      } else {
        k -= l1 + a[n - 1] + l2 + a[n - 1];
        printf("%c", p3[k]);
        break;
      }
    }
  }
}
