#include<iostream>
#include<cstdio>
using namespace std;


int main()
{
	int n, h, w;

	long long N,p,q;
	scanf("%lld", &N);
	for (n = 1; n <= 3500;n++)
	for (h = 1; h < 3500; h++)
	{
		p = 4 * h*n - N*n - N*h;
		q = N*h*n;
		if (p>0 && q%p == 0)
			w = q / p;
		cout << n <<" "<< h <<" "<< w << endl;
		return 0;
	}
	

	return 0;
}