#include "bits/stdc++.h"
using namespace std;

int main() {
	long long N;
	cin >> N;
	cout << N << ":";
	for (long long i = 2; i * i <= N; i++) {
		if (N % i == 0) cout << " " << i, N /= i, i--;
	}
	if (N != 1) cout << " " << N << endl;
}
