# tenka1-2017-beginnerC - 4/N

# exhaustive search

def main():

    N = int(eval(input()))

    for h in range(1, 3501):

        for n in range(1, 3501):

            numerator = N * h * n

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

            if denominator > 0 and numerator % denominator == 0:

                w = numerator // denominator

                print((h, n, w))

                return





if __name__ == "__main__":

    main()
# tenka1-2017-beginnerC - 4/N

# exhaustive search

def main():

    N = int(eval(input()))

    for h in range(N // 4 + 1, 3501):

        for n in range(N * h // (4 * h - N) + 1, 3501):

            numerator = N * h * n

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

            if denominator > 0 and numerator % denominator == 0:

                w = numerator // denominator

                print((h, n, w))

                return





if __name__ == "__main__":

    main()
# tenka1-2017-beginnerC - 4/N
# exhaustive search
def main():
    N = int(eval(input()))
    for h in range(1, 3501):
        for n in range(1, 3501):
            numerator = N * h * n
            denominator = 4 * h * n - N * n - N * h
            if denominator > 0 and numerator % denominator == 0:
                w = numerator // denominator
                print((h, n, w))
                return


if __name__ == "__main__":
    main()

# tenka1-2017-beginnerC - 4/N
# exhaustive search
def main():
    N = int(eval(input()))
    for h in range(N // 4 + 1, 3501):
        for n in range(N * h // (4 * h - N) + 1, 3501):
            numerator = N * h * n
            denominator = 4 * h * n - N * n - N * h
            if denominator > 0 and numerator % denominator == 0:
                w = numerator // denominator
                print((h, n, w))
                return


if __name__ == "__main__":
    main()

-    for h in range(1, 3501): -        for n in range(1, 3501): +    for h in range(N // 4 + 1, 3501): +        for n in range(N * h // (4 * h - N) + 1, 3501):