for i in range(9,0,-1):
for j in range(i,0,-1):
print(str(i) + "*" + str(j) + "=" + str(i*j), end=" ")
print()
99=81 98=72 97=63 96=54 95=45 94=36 93=27 92=18 91=9
88=64 87=56 86=48 85=40 84=32 83=24 82=16 81=8
77=49 76=42 75=35 74=28 73=21 72=14 71=7
66=36 65=30 64=24 63=18 62=12 61=6
55=25 54=20 53=15 52=10 51=5
44=16 43=12 42=8 41=4
33=9 32=6 31=3
22=4 21=2
1*1=1