initial = 7
figure = initial
for i in range (0, 300):
    print "7 x %d = %d" % (i+1,figure)
    figure += initial