#include <cstdio>
#include <iostream>
#include <string>
#include <cstring>
using namespace std;
int a[100], b[100], c[200];
int main()
{
	string n,m;
	cin >> n >> m;
	
	int len_n,len_m,max_len,i,j,w,s,k;
	
	len_n = n.size();
	len_m = m.size();
	
	for(i=0;i<=len_n - 1;i++)
	   a[i] = n[len_n-i-1]-48;
	   
	for(i=0;i<=len_m - 1;i++)
	   b[i] = m[len_m-i-1]-48;   
	   
	   for(i=0;i<=len_n - 1;i++)
	   for(i=0;j<=len_m - 1;j++)
	   {
	   	  w = i+j;
	   	  s = a[i]*b[i];
	   	  c[w] += s%10;
	   	  c[w+1] += c[w]/10+s/10;
	   	  c[w] = c[w]%10;
	   }
	   
	   k =len_n+len_m;
	   while(c[k]==0&&k>0) k--;
	   
	   cout << n << "*" << m <<"=";
	   
	   for(i=k;i>=0;i--)cout << c[j];
	   return 0;
}  