#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define fore(i,a,b) for(i=(a);i<=(int)(b);i++)
#define ford(i,a,b) for(i=(a);i>=(int)(b);i--)
#define Cerr if(!debug_cerr) {} else cerr
#define loger(x...) Cerr << '>' << #x << ": "; dbg_out(x);
using namespace std; bool debug_cerr=1;
void dbg_out() { Cerr << endl; }
template<typename Head, typename... Tail> void dbg_out(Head H, Tail... T) { Cerr<<H<<","; dbg_out(T...); }
template<class A,class B> ostream& operator<<(ostream &os,const pair<A, B> &p){return os<<'('<<p.first<<","<<p.second<<')';}
template <typename T> ostream& operator<<(ostream& stream,const vector<T>& obj){
    stream<<"[";for(auto x:obj)stream<<x<<",";stream<<"]"<<((obj.size()>3)?"\n":""); return stream; }
template <typename T,size_t N> ostream& operator<<(ostream& stream,const array<T,N>& obj){
    stream<<"[";for(auto x:obj)stream<<x<<",";stream<<"]"<<((N>3)?"\n":"");return stream;}
template <typename T> void printarr(T arr[],int n){Cerr<<"Array ";for(int i=0;i<n;i++){Cerr<<arr[i]<<" ";}Cerr<<endl;}
template <typename T> void printarr(T arr){Cerr<<">>";for(auto it=arr.begin();it!=arr.end();it++){Cerr<<*it<<" ";}Cerr<<endl;}
#define PI 3.141592653589
typedef long long ll;typedef unsigned long long ull;
const ll mod=1000000007;


int main()
{
    //ios_base::sync_with_stdio(false);cin.tie(NULL);
    ll test,ti,i,j,n,m;
    cin>>test;
    for(ti=1;ti<=test;ti++)
    {
        cin>>n>>m;

        string s(n,'a');
        rep(i,n){
            s[i]=(i%3)+'a';
        }
        cout<<s<<"\n";
    }

    return 0;
}
