#include using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int t; cin >> t; while(t--){ int N; cin >> N; string two = "ABACBC",three = "ABACABCBC",answer = ""; if(N%2) answer = three,N -= 3; while(N) answer += two,N -= 2; cout << answer << endl; } }