
#include<bits/stdc++.h>
#define PI 3.14159265358979323846  /* pi */
#define ll long long
#define pb push_back
#define mp make_pair
#define fastio ios_base::sync_with_stdio(false);cin.tie(NULL);
#define mod 1000000007
#define zer(dp) memset(dp,0,sizeof dp)
#define all(x) x.begin(),x.end()
using namespace std;


void solve()
{
	 	ll sum=0,flag=0;
		ll i,j,k;
		ll x,y,z;
		ll n,m,p,t,l,r;
 	cin>>n>>k;
 	//string s; cin>>s;
 	//ll b[n],c[n],d[n];
 	//vector<ll> a;
 	//ll a[n],b[n]; for(i=0;i<n;i++){ cin>>a[i]; }
	for(i=0;i<n;i++)
	{
		if(i%3==2)
		cout<<'a';
		else if(i%3==1)
		cout<<'b';
		else
		cout<<'c';
	}
	
	cout<<"\n";	
}

int main()
{
fastio;
          ll t;
 //       t=1;
         cin>>t;
 for(int r=0;r<t;r++)
 {
 	solve();
	 }
return 0;
}
