#include <bits/stdc++.h>
using namespace std;

int main() {
  long long N;
  cin>>N;
  for (long long h=1; h<=3500; h++) {
    for (long long n=1; n<=3500; n++) {
      long long a = 4*h*n - N*h - n*N;
      if (a <= 0) {
        continue;
      }
      long long b = N*h*n;
      if (b % a == 0) {
        printf("%lld %lld %lld\n", h, n, b / a);
        return 0;
      }
    }
  }
}