#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
 ll N; cin >> N;
  for(ll x = 1; x<= 3500; x++){
    for(ll y = 1; y <= 3500; y++){
      ll a= N*x*y; ll b = 4*x*y - N*(x+y);
      if( b>0 && a%b == 0){ cout << x << " " << y << " " << a/b << endl;return 0;}
    }
  }
  
  return 0;}