#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 str1 = "What are you doing while sending \"";
string str2 = "\"? Are you busy? Will you send \"";
string str3 = "\"?";
long long sl = str1.length() + str2.length() + str3.length();
const long long N = 1e5 + 5;
vector<long long> sz(N, 0);
void solve(long long pos, long long n) {
  if (n == 0) {
    cout << f0[pos - 1];
    return;
  }
  if (pos <= str1.length()) {
    cout << str1[pos - 1];
    return;
  } else if (pos <= str1.length() + sz[n - 1]) {
    solve(pos - str1.length(), n - 1);
  } else if (pos <= str2.length() + str1.length() + sz[n - 1]) {
    cout << str2[pos - 1 - str1.length() - sz[n - 1]];
    return;
  } else if (pos <= str1.length() + sz[n - 1] + str2.length() + sz[n - 1]) {
    solve(pos - str1.length() - str2.length() - sz[n - 1], n - 1);
  } else {
    cout << str3[pos - 1 - str1.length() - 2 * sz[n - 1] - str2.length()];
    return;
  }
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  sz[0] = f0.length();
  for (long long i = 1; i < N; i++) {
    if (sz[i - 1] >= 1.5e18) {
      sz[i] = sz[i - 1];
      continue;
    }
    sz[i] = 2LL * sz[i - 1] + sl;
  }
  long long tt = 1;
  cin >> tt;
  while (tt--) {
    long long n, k;
    cin >> n >> k;
    if (n < 60 && k > sz[n]) {
      cout << ".";
      continue;
    }
    solve(k, n);
  }
  return 0;
}
