#include <bits/stdc++.h>
// 
#define ios ios::sync_with_stdio(false), cin.tie(0);
#define et cout<<endl;
using namespace std;
typedef pair<int, int> PII;
typedef long long ll;
typedef unsigned long long ull;
inline int read()
{
	int x=0,f=1;char ch=getchar();
	while (!isdigit(ch)){if (ch=='-') f=-1;ch=getchar();}
	while (isdigit(ch)){x=x*10+ch-48;ch=getchar();}
	return x*f;
}
const int N = 2e5+5;
const int M = 2e5+5;
const int mod = 1e9+7;
//
int t, n, k;
int g[N];
void solve()
{
	cin >> n >> k;
	for(int i = 1; i <= n; i ++)
	{
		if(i%3 == 1) cout << 'a';
		if(i%3 == 2) cout << 'b';
		if(i%3 == 0) cout << 'c';
	}
	cout << endl;
}
int main()
{
	ios
	//
	bool multi = 1;   // 0 for single and 1 for multi
	//
	if(multi) cin >> t;
	else t = 1;
	while(t--)
	{
		solve();
	}
}


