![](https://i-blog.csdnimg.cn/blog_migrate/f3242174ba6281612b416c1b8ef98ac9.png)
![](https://i-blog.csdnimg.cn/blog_migrate/7ce9656b10f3d0485f62e958bdb072b2.png)
#include <iostream>
#include<iomanip>
#include<math.h>
using namespace std;
int main() {
int n;
while (cin >> n) {
if (n == 1)cout << "A" << endl;
else {
string b = "A";
char a = 'A';
for (int i = 1; i < n; i++) {
a++;
b = b + a + b;
}
cout << b << endl;
}
}
return 0;
}