#include <iostream>
using namespace std;
int main()
{
int n = 36;
cin >> n;
int i = 2;
cout << n << "=";
bool f = true;
while (n != 1)
{
while (n % i == 0)
{
if (f)
{
cout << i;
f = false;
}
else
cout << "*" << i;
n /= i;
}
i++;
}
return 0;
}