#include <iostream>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <string>
#include <algorithm>
using namespace std;
typedef long long ll;
const char a[3]={'a', 'b', 'c'};
int main()
{
	int T;
	scanf ("%d", &T);
	while (T--)
	{
		int n, k;
		scanf ("%d%d", &n, &k);
		for (int i=1; i<=n; ++i)
			putchar(a[i%3]);
		putchar('\n');
	}
	return 0;
}