#yuki_550 def f(x): return x*x*x+a*x*x+b*x+c a,b,c = map(int, raw_input().split()) res=[] for i in range(-10**6,10**6): if f(i)==0: res.append(i) B = a+i C = a*i+i*i+b x1=(-B+(B*B-4*C)**0.5)/2 x2=(-B-(B*B-4*C)**0.5)/2 res.append(x1) res.append(x2) break res.sort() for i in xrange(3): print "%.0f" % res[i], print