Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Fixed submission:
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        if 4*i*j-N*i-N*j<=0:
            continue
        elif (N*i*j)%4*i*j-N*i-N*j==0:
            print(i,j,(N*i*j)//4*i*j-N*i-N*j)
            exit()

Fixed submission:
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        elif (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Fixed submission:
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        elif (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            break

Fixed submission:
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        aw=(N*i*j)
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        elif aw%bw==0:
            print(i,j,int(aw/bw))
            break

Fixed submission:
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        aw=(N*i*j)
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        elif aw%bw==0:
            h=i
            n=j
            break
print(h,n,int(bw/aw))

Fixed submission:
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Buggy python submission (verdict: Runtime Error):
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        aw=(N*n*h)
        bw=4*n*h-N*h-N*n
        if bw!=0 and bw/aw==bw//aw:
            h=i
            n=j
            break
print(h,n,bw//aw)

Fixed submission:
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Buggy python submission (verdict: Runtime Error):
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        aw=(N*n*h)
        bw=4*n*h-N*h-N*n
        if bw!=0 and bw/aw=bw//aw:
            h=i
            n=j
            break
print(h,n,bw//aw)

Fixed submission:
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        w=N*((i+j)/(i*j))/4
        if w==int(w):
            h=i
            n=j
            break
print(h,n,w)

Fixed submission:
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()

Buggy python submission (verdict: Time Limit Exceeded):
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        if N*((i+j)/(i*j))/4==int(N*((i+j)/(i*j))/4):
            h=i
            n=j
            w=int(N*((i+j)/(i*j))/4)
            break
print(h,n,w)

Fixed submission:
N=int(input())
for i in range(1,3501):
    for j in range(1,3501):
        bw=4*i*j-N*i-N*j
        if bw<=0:
            continue
        if (N*i*j)%bw==0:
            print(i,j,(N*i*j)//bw)
            exit()