#include <bits/stdc++.h>
using namespace std;
long long MOD = 1e9 + 7;
long long MAX = 1e17;
long long sizE[64];
string u =
    "What are you doing while sending \"What are you doing at the end of the "
    "world? Are you busy? Will you save us?\"? Are you busy? Will you send "
    "\"What are you doing at the end of the world? Are you busy? Will you save "
    "us?\"?";
string s =
    "What are you doing at the end of the world? Are you busy? Will you save "
    "us?";
string t = "What are you doing while sending \"";
string r = "\"? Are you busy? Will you send \"";
string y = "\"?";
char f(int n, long long k) {
  if (n == 0) {
    if (k <= 75) return s[k - 1];
  }
  if (k <= 34) {
    return t[k - 1];
  }
  k -= 34;
  if (n > 56) {
    return f(n - 1, k);
  }
  if (k <= sizE[n - 1]) {
    return f(n - 1, k);
  }
  k -= sizE[n - 1];
  if (k <= 32) return r[k - 1];
  k -= 32;
  if (n > 56) {
    return f(n - 1, k);
  }
  if (k <= sizE[n - 1]) {
    return f(n - 1, k);
  }
  k -= sizE[n - 1];
  if (k <= 2)
    return y[k - 1];
  else
    return '.';
}
int main() {
  ios_base::sync_with_stdio(0);
  ;
  sizE[0] = 75;
  for (int i = 1; i < 56; ++i) {
    sizE[i] = 68 + 2 * sizE[i - 1];
  }
  int q;
  cin >> q;
  while (q--) {
    int n;
    long long k;
    cin >> n >> k;
    cout << f(n, k);
  }
  return 0;
}
