#include <iostream>

using namespace std;

int main() {
  long long n = 0;
  cin >> 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) continue;
      double k = n*i*j/(double)(4*i*j-n*i-n*j);
      if (k == (long long)k && k > 0) {
        cout << i << " " << j << " " << (long long)k << endl;
        return 0;
      }
    }
  }
}
