let N = Double(readLine()!)!
for i in 1...3500 {
  for j in 1...3500 {
    for k in 1...3500 {
      if 4/N == 1/Double(i) + 1/Double(j) + 1/Double(k) {
        print(i, j, k)
        break
      }
    }
  }
}