#include <bits/stdc++.h>
using namespace std;
char a[] = " What are you doing while sending \"";
char b[] = " \"? Are you busy? Will you send \"";
char c[] = " \"?";
char s[] =
    " What are you doing at the end of the world? Are you busy? Will you save "
    "us?";
int q, n;
long long f[100005], k;
char Get(int n, long long k) {
  if (n == 0) return s[k];
  if (k <= 34) return a[k];
  k -= 34;
  if (k <= f[n - 1]) return Get(n - 1, k);
  k -= f[n - 1];
  if (k <= 32) return b[k];
  k -= 32;
  if (k <= f[n - 1]) return Get(n - 1, k);
  k -= f[n - 1];
  return c[k];
}
int main() {
  scanf("%d", &q);
  f[0] = 75;
  for (int i = 1; i <= 100000; i++) {
    f[i] = f[i - 1] * 2 + 68;
    if (f[i] > 1e18) f[i] = 1e18;
  }
  for (int i = 1; i <= q; i++) {
    scanf("%d%lld", &n, &k);
    putchar(k > f[n] ? '.' : Get(n, k));
  }
}
