N = int(eval(input()))

w1 = 10**5

w2 = 1

try:

    for h in range(1,3501):

        for n in range(1,3501):

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

                w1 = (N*h*n)//(4*h*n-N*(h+n))

                w2 = (N*h*n)/(4*h*n-N*(h+n))

            if w1==w2 and w1>0:

                raise(Exception)

except Exception:

    print((h,n,w1))
def main():

    N = int(eval(input()))

    w1 = 10**5

    w2 = 1

    try:

        for h in range(1,3501):

            for n in range(1,3501):

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

                    w1 = (N*h*n)//(4*h*n-N*(h+n))

                    w2 = (N*h*n)/(4*h*n-N*(h+n))

                if w1==w2 and w1>0:

                    raise(Exception)

    except Exception:

        print((h,n,w1))

if __name__ == '__main__':

    main()
N = int(eval(input()))
w1 = 10**5
w2 = 1
try:
    for h in range(1, 3501):
        for n in range(1, 3501):
            if (4 * h * n - N * (h + n)) > 0:
                w1 = (N * h * n) // (4 * h * n - N * (h + n))
                w2 = (N * h * n) / (4 * h * n - N * (h + n))
            if w1 == w2 and w1 > 0:
                raise (Exception)
except Exception:
    print((h, n, w1))

def main():
    N = int(eval(input()))
    w1 = 10**5
    w2 = 1
    try:
        for h in range(1, 3501):
            for n in range(1, 3501):
                if (4 * h * n - N * (h + n)) > 0:
                    w1 = (N * h * n) // (4 * h * n - N * (h + n))
                    w2 = (N * h * n) / (4 * h * n - N * (h + n))
                if w1 == w2 and w1 > 0:
                    raise (Exception)
    except Exception:
        print((h, n, w1))


if __name__ == "__main__":
    main()

-N = int(eval(input())) -w1 = 10**5 -w2 = 1 -try: -    for h in range(1, 3501): -        for n in range(1, 3501): -            if (4 * h * n - N * (h + n)) > 0: -                w1 = (N * h * n) // (4 * h * n - N * (h + n)) -                w2 = (N * h * n) / (4 * h * n - N * (h + n)) -            if w1 == w2 and w1 > 0: -                raise (Exception) -except Exception: -    print((h, n, w1)) +def main(): +    N = int(eval(input())) +    w1 = 10**5 +    w2 = 1 +    try: +        for h in range(1, 3501): +            for n in range(1, 3501): +                if (4 * h * n - N * (h + n)) > 0: +                    w1 = (N * h * n) // (4 * h * n - N * (h + n)) +                    w2 = (N * h * n) / (4 * h * n - N * (h + n)) +                if w1 == w2 and w1 > 0: +                    raise (Exception) +    except Exception: +        print((h, n, w1)) + + +if __name__ == "__main__": +    main()