#include <bits/stdc++.h>
using namespace std;
int main() {
freopen("p1677.in","r",stdin);
freopen("p1677.out","w",stdout)
int n;
cin >> n;
cout << n << "=";
int t = n;
for (int i = 2; i * i <= t; i++) {
while (t % i == 0) {
cout << i;
t /= i;
if (t != 1) {
cout << "*";
}
}
}
if (t > 1) {
cout << t;
}
fclose(stdin);
fclose(stdout);
return 0;
}
( ) |