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

int main() {
	ios_base::sync_with_stdio(false); cin.tie(0);
	int N; cin >> N;

	for (int a = 1; a <= 3500; ++a) for (int b = 1; b <= 3500; ++b) {
		long long ts = 1LL * N * a * b;
		long long ms = 4LL * a * b - N * a - N * b;
		if (ms <= 0) continue;
		if (ts % ms) continue;
		ts /= ms;
		cout << a << ' ' << b << ' ' << ts << endl;
		return 0;
	}
}