import std.algorithm, std.conv, std.range, std.stdio, std.string;

void main()
{
  auto n = readln.chomp.to!long;
  foreach (h; 1L..3501L)
    foreach (m; h..3501L) {
      auto a = 4*h*m-n*(h+m);
      auto b = n*h*m;
      if (a > 0 && b % a == 0) {
        writeln(h, " ", m, " ", b/a);
        return;
      }
    }
}
