/* ****Yash_mittal**** */

#include<bits/stdc++.h>
#define ll          long long
#define pb          push_back
#define endl        '\n'
#define pii         pair<ll int,ll int>
#define vi          vector<ll int>
#define all(a)      (a).begin(),(a).end()
#define F           first
#define S           second
#define sz(x)       (ll int)x.size()
#define hell        1000000007
#define rep(i,a,b)  for(ll int i=a;i<b;i++)
#define lbnd        lower_bound
#define ubnd        upper_bound
#define bs          binary_search
#define mp          make_pair
using namespace std;

#define N  100005
int main()
{
    ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
    int t;
    cin >> t;
 
    while (t--)
    {
        int n,k;
        cin>>n>>k;
        for(int i=0;i<(n/3);i++)
        {
            cout<<"abc";
        }
        if(n%3==1)
            cout<<"a";
        if(n%3==2)
            cout<<"ab";
        cout<<endl;
    }
    return 0;
}