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

typedef long long ll;

int main() {
	ll n, a, b, c;
	scanf("%lld", &n);
	for(a = 1; a <= 3500; a++) {
		for(b = 1; b <= 3500; b++) {
			ll A = a*b*n, B = 4*a*b-a*n-b*n;
			if(B <= 0) continue;
			if(A % B == 0) {
				printf("%lld %lld %lld\n", a, b, A/B);
				return 0;
			}
		}
	}
	return 0;
}
