#include <bits/stdc++.h>
using namespace std;
int q, n;
long long k;
long long len[100004];
string s1 = "What are you doing while sending ",
       s2 = "? Are you busy? Will you send ", s3 = "?",
       f0 =
           "What are you doing at the end of the world? Are you busy? Will you "
           "save us?";
int ge;
void pre() {
  s1 += '"';
  s2 = '"' + s2 + '"';
  s3 = '"' + s3;
  len[0] = 75;
  for (int i = 1; i <= 100000; i++) {
    len[i] = len[i - 1] * 2 + 33 + 30 + 1 + 1 + 2 + 1;
    if (len[i] > 1000000000000000000LL) {
      ge = i;
      return;
    }
  }
}
int dfs(int x) {
  if (x <= ge && k > len[x]) return printf(".");
  if (!x) return printf("%c", f0[k - 1]);
  if (k <= 34) return printf("%c", s1[k - 1]), 0;
  k -= 34;
  if (x > ge || k <= len[x - 1]) return dfs(x - 1);
  k -= len[x - 1];
  if (k <= 32) return printf("%c", s2[k - 1]), 0;
  k -= 32;
  if (k <= len[x - 1]) return dfs(x - 1);
  k -= len[x - 1];
  return printf("%c", s3[k - 1]);
}
int main() {
  scanf("%d", &q);
  pre();
  while (q--) {
    scanf("%d%I64d", &n, &k);
    dfs(n);
  }
  return 0;
}
