# Arup Guha
# 9/29/2020
# Multiplication Table

n = int(input("What is your max integer for multiplication?\n"))

# Print each row.
for row in range(1, n+1):

    # This prints each value on this row.
    for col in range(1, n+1):
        print(row*col, end="\t")

    # This allows us to advance to the next row.
    print()
