class EndLoop(Exception):

    pass





def solve():

    N = int(eval(input()))

    try:

        for h in range(1, 3501):

            for n in range(1, 3501):

                if 4 * h * n - n * N - h * N > 0:

                    if (h * n * N) % (4 * h * n - n * N - h * N) == 0:

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

                        print((h, n, int(w)))

                        raise EndLoop

    except:

        pass





solve()
class EndLoop(Exception):

    pass

 

 

def solve():

    N = int(input())

 

    try:

        for h in range(1, 3500):

            for n in range(1, 3500):

                if 4 * h * n - n * N - h * N == 0:

                    pass

                elif (h * n * N) % (4 * h * n - n * N - h * N) == 0 and\

                            (4 * h * n - n * N - h * N) > 0:

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

                    print(h, n, int(w))

                    raise EndLoop

    except(EndLoop):

        pass

 

 

solve()

class EndLoop(Exception):
    pass


def solve():
    N = int(eval(input()))
    try:
        for h in range(1, 3501):
            for n in range(1, 3501):
                if 4 * h * n - n * N - h * N > 0:
                    if (h * n * N) % (4 * h * n - n * N - h * N) == 0:
                        w = int((h * n * N) / (4 * h * n - n * N - h * N))
                        print((h, n, int(w)))
                        raise EndLoop
    except:
        pass


solve()

class EndLoop(Exception):
    pass


def solve():
    N = int(input())
    try:
        for h in range(1, 3500):
            for n in range(1, 3500):
                if 4 * h * n - n * N - h * N == 0:
                    pass
                elif (h * n * N) % (4 * h * n - n * N - h * N) == 0 and (
                    4 * h * n - n * N - h * N
                ) > 0:
                    w = (h * n * N) / (4 * h * n - n * N - h * N)
                    print(h, n, int(w))
                    raise EndLoop
    except (EndLoop):
        pass


solve()

-    N = int(eval(input())) +    N = int(input()) -        for h in range(1, 3501): -            for n in range(1, 3501): -                if 4 * h * n - n * N - h * N > 0: -                    if (h * n * N) % (4 * h * n - n * N - h * N) == 0: -                        w = int((h * n * N) / (4 * h * n - n * N - h * N)) -                        print((h, n, int(w))) -                        raise EndLoop -    except: +        for h in range(1, 3500): +            for n in range(1, 3500): +                if 4 * h * n - n * N - h * N == 0: +                    pass +                elif (h * n * N) % (4 * h * n - n * N - h * N) == 0 and ( +                    4 * h * n - n * N - h * N +                ) > 0: +                    w = (h * n * N) / (4 * h * n - n * N - h * N) +                    print(h, n, int(w)) +                    raise EndLoop +    except (EndLoop):