#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ld = long double;
using pl = pair<ll, ll>;
const ll INF = 1e9 + 7;
const ll mod = 1e9 + 7;
const ll mod2 = 998244353;
const ld eps = 1e-9;
const ld PI = acos(-1);
void solve() {
  ll n;
  cin >> n;
  if (n == 1) {
    cout << "a\n";
    return;
  }
  if (n % 2 == 0) {
    for (ll i = 0; i < n / 2; ++i) {
      cout << 'a';
    }
    cout << 'b';
    for (ll i = 0; i < n / 2 - 1; ++i) {
      cout << 'a';
    }
    cout << "\n";
  } else {
    for (ll i = 0; i < n / 2; ++i) {
      cout << 'a';
    }
    cout << "bc";
    for (ll i = n / 2 + 2; i < n; ++i) {
      cout << 'a';
    }
    cout << "\n";
  }
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  ll t;
  cin >> t;
  while (t--) solve();
  return 0;
}
