#include<iostream.h>
int main()
{
int m[]={1,3,5,7,9};
for(int a=0;a<5;a++)
for(int b=0;b<5;b++)
for(int c=0;c<5;c++)
for(int d=0;d<5;d++)
for(int e=0;e<5;e++)
for(int f=0;f<5;f++)
for(int g=0;g<5;g++)
if((m[a]*10+m[b])*(m[c]*10+m[d])==m[e]*100+m[f]*10+m[g])
cout<<(m[a]*10+m[b])<<"*"<<(m[c]*10+m[d])<<"="<<m[e]*100+m[f]*10+m[g]<<endl;
return 0;
}