    #include <bits/stdc++.h>
    using namespace std;
    
    int main() 
    {
    	int t;cin>>t;
    	while(t--)
    	{
    	    int n,k;cin>>n>>k;int f=n/3;
    	    while(f--)
    	    {
    	        cout<<"abc";
    	    }
    	    if(n%3==1)cout<<"a";
    	    else if(n%3==2)cout<<"ab";
    	    cout<<endl;
    	}
    	return 0;
    	
    }
