#include<stdio.h>int main(){ long x,y=1,i=-1; int a[10]; scanf("%ld",&x); for(;x>0;) {a[++i]=x%10; y*=a[i]; x/=10; } for(;i>0;i--) printf("%d*",a[i]); printf("%d=%ld\n",a[0],y); return 0;}