a=int(input("Enter the Number of list:"))
b=int(input("Enter the Number:"))
i=1                                                                                
while i<=a:
    x=[]
    j=1
    while j<=b:
        x.append(j)
        j+=1
    i+=1
    print(x)
