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

int main() {
	ll N;
	cin >> N;

	for (ll h = 1; h <= 3500; h++) {
		for (ll n = 1; n <= 3500; n++) {
			ll x = N*h*n;
			ll y = 4*h*n - N*n - N*h;

			if (y <= 0) continue;
			if (x%y == 0) {
				cout << h << " " << n << " " << x/y << endl;
				return 0;
			}
		}
	}

	return 0;
}
