#include <iostream>
using namespace std;
long long n, a, b, c, d, e, f;
int main() {
	cin >> n;
	for (a = 1; a <= 3500; a ++)
		for (b = 1; b <= 3500; b ++) {
			long long x = n * a * b;
			c = 4 * a * b - b * n - a * n;
			if (c <= 0) continue;
			if (x > c && x % c == 0) {
				c = x / c;
				cout << a << " " << b << " " << c << endl;
				return 0;
			}
		}
	return 0;
}