#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll n,t1,t2;
bool f;
int main() {
	scanf("%lld",&n);
	for (ll a=1;a<=3500;a++) {
		for (ll b=1;b<=3500;b++) {
			t1=n*a*b;
			t2=4*a*b-n*b-n*a;
			if (t2==0) continue;
			if (t1%t2==0&&t1/t2>0) {
				printf("%lld %lld %lld\n",a,b,t1/t2);
				f=1; break;
			}
		}
		if (f) break;
	}
	return 0;
}