N=int(eval(input()))

for h in range(1,3501):

  for n in range(1,3501):

    if 1/h+1/n>=4/N:continue

    w=(N*h*n)/(4*h*n-N*(h+n))

    if w==int(w):print((h,n,int(w)));exit()
N=int(eval(input()))

for h in range(1,3501):

  for n in range(1,3501):

    if 1/h+1/n>=4/N:continue

    if (N*h*n)%(4*h*n-N*(h+n))==0:print((h,n,(N*h*n)//(4*h*n-N*(h+n))));exit()
N = int(eval(input()))
for h in range(1, 3501):
    for n in range(1, 3501):
        if 1 / h + 1 / n >= 4 / N:
            continue
        w = (N * h * n) / (4 * h * n - N * (h + n))
        if w == int(w):
            print((h, n, int(w)))
            exit()

N = int(eval(input()))
for h in range(1, 3501):
    for n in range(1, 3501):
        if 1 / h + 1 / n >= 4 / N:
            continue
        if (N * h * n) % (4 * h * n - N * (h + n)) == 0:
            print((h, n, (N * h * n) // (4 * h * n - N * (h + n))))
            exit()

-        w = (N * h * n) / (4 * h * n - N * (h + n)) -        if w == int(w): -            print((h, n, int(w))) +        if (N * h * n) % (4 * h * n - N * (h + n)) == 0: +            print((h, n, (N * h * n) // (4 * h * n - N * (h + n))))