#include <bits/stdc++.h>
using namespace std;

int main() {
  int t;
  cin >> t;

  for(int i = 0; i<t; i++){
    int n, k;
    int c = 1;
    cin >> n >> k;
    while(n != 0){
      if(c == 1){
        cout << "a";
        c++;
      }
      else if(c == 2){
        cout << "b";
        c++;
      }
      else{
        cout << "c";
        c = 1;
      }
      n--;
    }
    cout << endl;
    c = 0;
  }

  return 0;
}
		 					    	 				   	  	 		