import sys
for x in sys.stdin:
x = x.split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
s = b**2-4*a*c
if s > 0:
x1 = round((-b+s**0.5)/(2*a))
x2 = round((-b-s**0.5)/(2*a))
print("Two different roots x1=" + str(int(x1)) + " , x2=" + str(int(x2)))
elif s == 0:
x = round(-b/(2*a))
print("Two same roots x=" + str(int(x)))
else:
print("No real root")