N = int(eval(input()))



if N%2 == 0:

  print((N, N, N//2))

else:

  for h in range(3500, -1, -1):

    num = N*h*h; diff_num = N*h

    dem = 4*h*h - N*(h+h); diff_dem = 4*h - N

    for n in range(h, -1, -1):

      if dem <= 0:

        break

      if num%dem == 0:

        print((h, n, num//dem))

        quit()

      num -= diff_num

      dem -= diff_dem
N = int(eval(input()))



if N%2 == 0:

  print((N, N, N//2))

else:

  for h in range(1, 3501):

    if 4*h <= N:

      continue

    for n in range(h, 3501):

      num = N*h*n

      dem = 4*h*n - N*(h+n)

      if dem > 0 and num%dem == 0:

        print((h, n, num//dem))

        quit()



N = int(eval(input()))
if N % 2 == 0:
    print((N, N, N // 2))
else:
    for h in range(3500, -1, -1):
        num = N * h * h
        diff_num = N * h
        dem = 4 * h * h - N * (h + h)
        diff_dem = 4 * h - N
        for n in range(h, -1, -1):
            if dem <= 0:
                break
            if num % dem == 0:
                print((h, n, num // dem))
                quit()
            num -= diff_num
            dem -= diff_dem

N = int(eval(input()))
if N % 2 == 0:
    print((N, N, N // 2))
else:
    for h in range(1, 3501):
        if 4 * h <= N:
            continue
        for n in range(h, 3501):
            num = N * h * n
            dem = 4 * h * n - N * (h + n)
            if dem > 0 and num % dem == 0:
                print((h, n, num // dem))
                quit()

-    for h in range(3500, -1, -1): -        num = N * h * h -        diff_num = N * h -        dem = 4 * h * h - N * (h + h) -        diff_dem = 4 * h - N -        for n in range(h, -1, -1): -            if dem <= 0: -                break -            if num % dem == 0: +    for h in range(1, 3501): +        if 4 * h <= N: +            continue +        for n in range(h, 3501): +            num = N * h * n +            dem = 4 * h * n - N * (h + n) +            if dem > 0 and num % dem == 0: -            num -= diff_num -            dem -= diff_dem