#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 aa = "What are you doing while sending \"";
string bb = "\"? Are you busy? Will you send \"";
string cc = "\"?";
const int N = 1e5 + 5;
unsigned long long f[N];
void solve() {
  int n;
  long long k;
  cin >> n >> k;
  k--;
  for (int i = n; i >= 1; i--) {
    if (k < aa.length()) {
      cout << aa[k];
      return;
    }
    k -= aa.length();
    if (i > 54 || k < f[i - 1]) continue;
    k -= f[i - 1];
    if (k < bb.length()) {
      cout << bb[k];
      return;
    }
    k -= bb.length();
    if (i > 54 || k < f[i - 1]) continue;
    k -= f[i - 1];
    if (k < cc.length()) {
      cout << cc[k];
      return;
    }
    cout << '.';
    return;
  }
  if (k >= f0.length()) {
    cout << '.';
  } else {
    cout << f0[k];
  }
}
int main() {
  f[0] = f0.length();
  for (int i = 1;; i++) {
    f[i] = aa.length() + f[i - 1] + bb.length() + f[i - 1] + cc.length();
    if (f[i] > 1000000000000000000) break;
  }
  int t;
  cin >> t;
  while (t--) {
    solve();
  }
  cout << endl;
}
