atcoder#TENKA12017C. 4/N

4/N

Score : 300300 points

Problem Statement

You are given an integer NN.

Find a triple of positive integers hh, nn and ww such that 4/N=1/h+1/n+1/w4/N = 1/h + 1/n + 1/w.

If there are multiple solutions, any of them will be accepted.

Constraints

  • It is guaranteed that, for the given integer NN, there exists a solution such that h,n,w3500h,n,w \leq 3500.

Inputs

Input is given from Standard Input in the following format:

NN

Outputs

Print a triple of positive integers hh, nn and ww that satisfies the condition, in the following format:

hh nn ww

2
1 2 2

4/2=1/1+1/2+1/24/2 = 1/1 + 1/2 + 1/2.

3485
872 1012974 1539173474040

It is allowed to use an integer exceeding 35003500 in a solution.

4664
3498 3498 3498