#include using namespace std; int main(){ int T; cin >> T; while (T--){ int N; cin >> N; for (int i = 0; i < N - 2; i++){ cout << "ABC"; } cout << "ABACBC" << endl; } }