#include <iostream>
using namespace std;

int main() {
	int rows;
	cout<<"Enter the Number of rows:";
	cin>>rows;
	cout<<"Half Pyramid using Alphabets: "<<endl;
	
	for(int i=0;i<rows;i++){
		for(int j=0;j<=i;j++){
			cout<<(char)('A'+j)<<" ";
		}
		cout<<endl;
	}
	return 0;
}