#include<bits/stdc++.h>
using namespace std;
#define ull unsigned long long
#define mp make_pair
#define ll long long
#define pb push_back
#define hell 998244353



void solve(int test)
{

    string s = "";
    string temp = "abc";
    int n,k;
    cin>>n>>k;

    while(s.length()<n)
    {
        s.append(temp);

    }
    cout<<s.substr(0,n)<<endl;

  return;
}

int main()
{

  int t = 1;
  cin>>t;

  for(int x = 1;x<=t;x++)
  {
      solve(x);
  }
  return 0;
}
