#include <bits/stdc++.h>
using namespace std;
template <class T>
using max_pq = priority_queue<T>;
template <class T>
using min_pq = priority_queue<T, vector<T>, greater<T>>;
long long int x, y;
template <class T>
T gcd(T a, T b) {
  if (a == 0) {
    x = 0, y = 1;
    return b;
  }
  T gc = gcd(b % a, a);
  T temp;
  temp = x;
  x = y - (b / a) * temp;
  y = temp;
  return gc;
}
long long int po(long long int a, long long int x) {
  if (x == 0) {
    return 1;
  }
  long long int ans = 1;
  long long int k = 1;
  while (k <= x) {
    if (x & k) {
      ans = ((ans * a));
    }
    k <<= 1;
    a *= a;
  }
  return ans;
}
using namespace std;
bool check(long long int n, long long int k) {
  if (n > 54 || (((1LL << n) - 1) * (143) + 75) >= k) return true;
  return false;
}
int main() {
  ios::sync_with_stdio(false);
  cout.tie(0);
  cin.tie(0);
  string a, b;
  a = "What are you doing at the end of the world? Are you busy? Will you save "
      "us?";
  b = "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 r = "What are you doing while sending \"";
  string j = "\"? Are you busy? Will you send \"";
  int q;
  cin >> q;
  while (q--) {
    long long int n, k;
    cin >> n >> k;
    if (n > 54 || (((1LL << n) - 1) * (143) + 75) >= k) {
      while (n >= 0) {
        if (n == 0) {
          cout << a[k - 1];
          break;
        } else if (k <= 34) {
          cout << r[k - 1];
          break;
        } else {
          k -= 34;
          if (check(n - 1, k)) {
            n--;
          } else {
            k -= (((1LL << (n - 1)) - 1) * (143) + 75);
            if (k <= 32) {
              cout << j[k - 1];
              break;
            } else {
              k -= 32;
              if (check(n - 1, k)) {
                n--;
              } else {
                k -= (((1LL << (n - 1)) - 1) * (143) + 75);
                if (k == 1)
                  cout << "\"";
                else if (k == 2)
                  cout << "?";
                else
                  cout << ".";
                break;
              }
            }
          }
        }
      }
    } else {
      cout << ".";
    }
  }
}
