#include <cstdio>
int main() {
    long long n;
    scanf("%lld",&n);
    for (long long i = 1;i <= 3500;i++)
        for (long long j = 1;j <= 3500;j++)
            if (4*i*j-n*i-n*j > 0 && !(n*i*j%(4*i*j-n*i-n*j))) {
                printf("%lld %lld %lld",i,j,(n*i*j)/(4*i*j-n*i-n*j));
                return 0;
            }
    return 0;
}