#include<bits/stdc++.h>
using namespace std;
#define all(v) (v).begin(),(v).end()
#define rall(v) (v).begin(),(v).end()
#define pb push_back
#define eb emplace_back
#define fs first
#define sc second
using lint = long long;
using pii = pair<int,int>;
using vi = vector<int>;
using vii = vector<pii>;

const char s[] = "abc";

int main(){
  int tc = 1; scanf("%d",&tc);
  while(tc--){
    int n, k;
    scanf("%d%d",&n,&k);
    for(int i=0;i<n;++i)
      printf("%c",s[i%3]);
    puts("");
  }
}
