#include<bits/stdc++.h>
using namespace std;
#define fi              first
#define se              second
#define ll              long long
#define pb              push_back
#define mp              make_pair
#define pi             pair<int,int>
#define pll           pair<long long,long long>
#define vi              vector<int>
#define mi            map<int,int>
#define pqb             priority_queue<int>
#define pqs             priority_queue<int,vi,greater<int> >
#define mod             1000000007
#define inf             1e18
#define w(t)            int t; cin>>t; while(t--)
#define f(i,x)             for(int i=0;i<x;i++)
#define rep(i,a,b)      for(int i=a;i<=b;i++)
void solve()
{int n;cin>>n;
int k;cin>>k;
for(int i=0;i<n;i++)
{
cout<<char(97+i%3);
}
cout<<"\n";
}
int main()
{
w(t){solve();}
 return 0;
}