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