#include <iostream>
using namespace std;

using ll = long long;

int main() {
  ll N;
  cin >> N;

  for (ll h = 1; h <= 3500; h++) {
    for (ll n = 1; n <= 3500; n++) {
      ll x = N * h * n;
      ll y = 4 * h * n - N * h - N * n;
      if (y > 0 && x % y == 0) {
        cout << h << " " << n << " " << x / y << endl;
        return 0;
      }
    }
  }
}
