#include <bits/stdc++.h>
#include <iostream>
#include <vector>
using namespace std;
#define fast_io() ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);

int main()
{
    fast_io();
    int t;
    cin >> t;
    while(t--)
    {
        int n, k;
        cin >> n >> k;
        string str = "";

        for (int i = 0; i < n / 3; ++i)
        {
            str += "abc";
        }

        char arr[3] = {'a', 'b', 'c'};
 
        n = n % 3;

        for (int i = 0; i < n; ++i)
        {
            str += arr[i];
        }
        cout << str << endl;
    }
    return 0;
}

// g++ -std=c++11
// g++ -Wl,--stack,160000000 file.cpp
