n = int(eval(input()))



for x in range(1, 3500 + 1):

    for y in range(1, 3500 + 1):

        q = 4 * x * y - n * (x + y)     

        if q <= 0: continue



        p = n * x * y

        if p % q == 0:

            z = p // q

            print((x, y, z))

            exit()
def main():

    N = int(eval(input()))



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

        for n in range(1, 3500 + 1):

            numerator = N * h * n

            denominator = 4 * h * n - N * n - N * h

            if denominator == 0:

                continue

            if numerator % denominator != 0:

                continue

            w = numerator // denominator

            if w <= 0:

                continue

            print((h, n, w))

            return



    print((-1))





if __name__ == '__main__':

    main()

n = int(eval(input()))
for x in range(1, 3500 + 1):
    for y in range(1, 3500 + 1):
        q = 4 * x * y - n * (x + y)
        if q <= 0:
            continue
        p = n * x * y
        if p % q == 0:
            z = p // q
            print((x, y, z))
            exit()

def main():
    N = int(eval(input()))
    for h in range(1, 3500 + 1):
        for n in range(1, 3500 + 1):
            numerator = N * h * n
            denominator = 4 * h * n - N * n - N * h
            if denominator == 0:
                continue
            if numerator % denominator != 0:
                continue
            w = numerator // denominator
            if w <= 0:
                continue
            print((h, n, w))
            return
    print((-1))


if __name__ == "__main__":
    main()

-n = int(eval(input())) -for x in range(1, 3500 + 1): -    for y in range(1, 3500 + 1): -        q = 4 * x * y - n * (x + y) -        if q <= 0: -            continue -        p = n * x * y -        if p % q == 0: -            z = p // q -            print((x, y, z)) -            exit() +def main(): +    N = int(eval(input())) +    for h in range(1, 3500 + 1): +        for n in range(1, 3500 + 1): +            numerator = N * h * n +            denominator = 4 * h * n - N * n - N * h +            if denominator == 0: +                continue +            if numerator % denominator != 0: +                continue +            w = numerator // denominator +            if w <= 0: +                continue +            print((h, n, w)) +            return +    print((-1)) + + +if __name__ == "__main__": +    main()