#include using namespace std; #include using namespace atcoder; using ll = int64_t; using ul = uint64_t; using ld = long double; using vi = vector; using vd = vector; using vc = vector; using vs = vector; using vb = vector; using vl = vector; using vvi = vector; using vvd = vector; using vvc = vector; using vvb = vector; using vvl = vector; using mint = modint998244353; using vm = vector; int main() { cout << "AA" << endl; for (int i = 0; i < 26; i++) { for (int j = 1; i + j < 26; j++) { cout << char('A' + i) << char('A' + i + j) << endl; if (i == 0) cout << char('A' + j) << char('A' + j) << endl; if (i + j < 25) cout << char('A' + i + j) << char('A' + i) << endl; else if (i < 25) cout << char('A' + i + j) << char('A' + i + 1) << endl; else cout << "ZA" << endl; } } return 0; }