#include <bits/stdc++.h>
using namespace std;
string s0 =
    "What are you doing at the end of the world? Are you busy? Will you save "
    "us?";
string s1 = "What are you doing while sending \"";
string s2 = "\"? Are you busy? Will you send \"";
unsigned long long siz[63];
char findit(unsigned long long n, unsigned long long k) {
  if (n == 0) {
    return s0[k - 1];
  }
  if (k < 35) return s1[k - 1];
  k -= 34;
  if (n < 63 && siz[n - 1] < k) {
    k -= siz[n - 1];
    if (k < 33) return s2[k - 1];
    k -= 32;
    if (n < 63 && siz[n - 1] < k) {
      k -= siz[n - 1];
      if (k == 1)
        return '\"';
      else if (k == 2)
        return '?';
      else {
        return '.';
      }
    } else
      return findit(n - 1, k);
  } else
    return findit(n - 1, k);
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(NULL);
  siz[0] = 75;
  for (int i = 1; i < 63; i++) {
    siz[i] = 68 + 2 * siz[i - 1];
  }
  int q;
  cin >> q;
  while (q--) {
    unsigned long long n;
    unsigned long long k;
    cin >> n >> k;
    if (n > 64 && k > (n - 64) * 34) {
      k -= (n - 64) * 34;
      n = 64;
    }
    if (n < 63 && k > siz[n])
      cout << '.';
    else
      cout << findit(n, k);
  }
}
