#include <bits/stdc++.h>
using namespace std;
int q, n;
long long k, len[100008];
string f0 =
    " What are you doing at the end of the world? Are you busy? Will you save "
    "us?";
string a = " What are you doing while sending \"",
       b = " \"? Are you busy? Will you send \"", c = " \"?";
inline void solve(int n, long long k) {
  if (k > len[n]) {
    cout << '.';
    return;
  }
  if (!n) {
    cout << f0[k];
    return;
  }
  if (k <= 34) {
    cout << a[k];
    return;
  }
  k -= 34;
  if (k <= len[n - 1]) {
    solve(n - 1, k);
    return;
  }
  k -= len[n - 1];
  if (k <= 32) {
    cout << b[k];
    return;
  }
  k -= 32;
  if (k <= len[n - 1]) {
    solve(n - 1, k);
    return;
  }
  k -= len[n - 1];
  cout << c[k];
  return;
}
int main() {
  len[0] = 75;
  for (int i = 1; i <= 100000; ++i) {
    len[i] = min(len[i - 1] * 2 + 68, 1000000000000000000ll);
  }
  cin >> q;
  while (q--) {
    cin >> n >> k;
    solve(n, k);
  }
  return 0;
}
