#include <bits/stdc++.h>
#define salma ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define RW freopen("input.txt", "r", stdin), freopen("output.txt", "w", stdout);
typedef long long ll;
typedef long double ld;
#define F first
#define S second
using namespace std;
const ll N = 1e6 + 5 ;
const ll INF =1e18;
const ll mod = 1e9 + 7;
const double pi = 2 * acos(0);
//int dy[]= {1,-1,0,0,1,1,-1,-1};
//int dx[]= {0,0,1,-1,1,-1,-1,1};

int main()
{
    salma;
    string s;
    for(int i=0; i<=1000; i+=3)
        s+= "abc";
    int tt;
    cin >> tt;
    while(tt--)
    {
        int n, k;
        cin >> n >> k;
        cout << s.substr(0, n) << endl;
    }



    return 0;
}
