#include <bits/stdc++.h>
using namespace std;
string f0 =
    "What are you doing at the end of the world? Are you busy? Will you save "
    "us?";
string fi[3] = {"What are you doing while sending \"",
                "\"? Are you busy? Will you send \"", "\"?"};
int64_t inceptionSize[100001];
char dfs(int64_t n, int64_t k) {
  if (k >= inceptionSize[n]) return '.';
  if (n == 0) return f0[k];
  for (string fj : fi) {
    if (k < fj.size()) return fj[k];
    k -= fj.size();
    if (k < inceptionSize[n - 1]) return dfs(n - 1, k);
    k -= inceptionSize[n - 1];
  }
}
int main() {
  int64_t q, n, k;
  string answer = "";
  inceptionSize[0] = f0.size();
  for (int ni = 1; ni < 100001; ni++)
    inceptionSize[ni] =
        min((int64_t)1e18, (int64_t)2 * inceptionSize[ni - 1] +
                               (int64_t)(fi[0] + fi[1] + fi[2]).size());
  cin >> q;
  while (q--) {
    cin >> n >> k;
    answer += dfs(n, k - 1);
  }
  cout << answer;
}
