import math
n=int(input())
i=1
while i <=math.sqrt(n):
    if n%i==0:
        print("%d=%d*%d"%(n,i,n//i))
    i=i+1      


/**************************************************************
	Problem: 1517
	User: admin
	Language: Python
	Result: Accepted
	Time:92 ms
	Memory:34244 kb
****************************************************************/