#include <bits/stdc++.h>
using namespace std;
const char* f0 =
    "What are you doing at the end of the world? Are you busy? Will you save "
    "us?";
const char* fi[3] = {"What are you doing while sending \"",
                     "\"? Are you busy? Will you send \"", "\"?"};
long long int n, k;
inline long long int len_calc(long long int level) {
  return (1LL << (long long int)level) * 143LL - 68LL;
}
long long int len_compare(long long int level) {
  if (level >= 53)
    return 1LL;
  else
    return len_calc(level) - k;
}
bool dfs(long long int level) {
  if (len_compare(level) <= 0) {
    k -= len_calc(level);
    return false;
  }
  if (level == 0) {
    putchar(f0[k]);
    k = 0;
    return true;
  }
  if (k < 34) {
    putchar(fi[0][k]);
    k = 0;
    return true;
  } else
    k -= 34LL;
  if (dfs(level - 1)) return true;
  if (k < 32) {
    putchar(fi[1][k]);
    k = 0;
    return true;
  } else
    k -= 32LL;
  if (dfs(level - 1)) return true;
  putchar(fi[2][k]);
  k = 0LL;
  return true;
}
int main(int argc, char* argv[]) {
  int q;
  scanf("%d", &q);
  while (q--) {
    scanf("%lld%lld", &n, &k);
    --k;
    if (!dfs(n)) putchar('.');
  }
  putchar('\n');
  return 0;
}
