// editor5
#include <iostream>
using namespace std;
void printAlphabetTriangle(int height){
    if (height <1 || height >25){
        cout << "Invalid input";
        return;
    }
    for(int i=1; i<=height;i++){
        for(char ch='A';ch<'A'+i;ch++){
            cout<<ch;
        }
        cout<<endl;
    }
}