#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main (){
	ll i,j,n;
	scanf ("%lld",&n);
	for (i=1;i<=3500;i++)
	{for (j=1;j<=3500;j++)
	{ll f1=n*i*j,f2=4*i*j-(i+j)*n;
	if (f2==0) {continue;}
	if (f1%f2==0&&f1/f2>0)
	{printf ("%lld %lld %lld\n",i,j,f1/f2);
	return 0;
	}
	}
	}
}