# Print mirrored right triangle Alphabet pattern 

print("Enter the row and column size:");
row_size=input()
for out in range(ord('A'),ord(row_size)+1):
    for i in range(ord('A'),out+1):
        print(chr(i),end=" ")
    print("\r")
