N = int(eval(input()))



for h in range(1, 3501):

    for n in range(h, 3501):

        q = 4 * h * n - N * h - N * n

        if q <= 0:

            continue

        p = N * h * n

        if p % q == 0:

            w = int(p / q)

            print((str(h) + ' ' + str(n) + ' ' + str(w)))

            exit()
N = int(eval(input()))



for h in range(1, 3501):

    a = 4 * h - N

    if a <= 0:

        continue

    b = N * h

    for n in range(max(h, b // a + 1), 3501):

        q = 4 * h * n - N * h - N * n

        if q <= 0:

            continue

        p = N * h * n

        if p % q == 0:

            w = int(p / q)

            print((str(h) + ' ' + str(n) + ' ' + str(w)))

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

N = int(eval(input()))
for h in range(1, 3501):
    a = 4 * h - N
    if a <= 0:
        continue
    b = N * h
    for n in range(max(h, b // a + 1), 3501):
        q = 4 * h * n - N * h - N * n
        if q <= 0:
            continue
        p = N * h * n
        if p % q == 0:
            w = int(p / q)
            print((str(h) + " " + str(n) + " " + str(w)))
            exit()

-    for n in range(h, 3501): +    a = 4 * h - N +    if a <= 0: +        continue +    b = N * h +    for n in range(max(h, b // a + 1), 3501):