n=int(input())
s=0
for i in range(1,n+1):
s=int('123456789'[:i])
print(str(s)+"*"+str(8)+"+"+str(i)+"="+str(s*8+i))