void main(){
  import std.stdio, std.string, std.conv, std.algorithm;
  
  long n; rd(n);

  for(long a=1; a<=3500; a++)for(long b=1; b<=3500; b++){
    auto x=4*a*b-n*a-n*b;
    if(x<=0) continue;
    auto y=n*a*b;
    if(y%x==0){
      writeln(a, " ", b, " ", y/x); return;
    }
  }

}


void rd(T...)(ref T x){
  import std.stdio, std.string, std.conv;
  auto l=readln.split;
  foreach(i, ref e; x){
    e=l[i].to!(typeof(e));
  }
}