#include
#include
{
int n = 2;
while(n < x)
{
if(x%n == 0)
{
cout << n << "*";
x /= n;
}
else
{
++n;
}
}
cout << n << endl;
}int main(int argc, char *argv[])
{
int x;
cin >> x;
fenjie(x);
system("PAUSE");
return EXIT_SUCCESS;
}