#include<stdio.h>



using lint = long long;
int main() {
	lint N;
	scanf("%lld", &N);
	for (lint h = 1; h <= 3500; h++) {
		for (lint n = 1; n <= 3500; n++) {
			lint p = 4 * h*n;
			lint q = N*n;
			lint r = N*h;
			lint s = p - q - r;
			if (s > 0 && (N*h*n) % s == 0) {
				printf("%lld %lld %lld",h,n, N*h*n / s);
				return 0;
			}
		}
	}
}