print("Nhap ma tran n*m voi n cot va m hang")
n = int(input("Nhap so cot sao: "))
m = int(input("Nhap so hang sao: "))
for i in range(m):
    for i in range(1, n+1):
        print("*", end='')
    print()
