import math N = 1000000 def f(x,a,b,c): return x**3 + a*x**2 + b*x + c def main(): A,B,C = map(int,input().split()) p = -N+1 while True: if f(p,A,B,C) == 0: break p += 1 D = round(math.sqrt((p*B+C)**2 + 4*C*p**3)) q = (p*B+C + D) // (2*p**2) r = (p*B+C - D) // (2*p**2) ans = [p,q,r] ans.sort() print(' '.join(map(str,ans))) if __name__ == '__main__': main()