a, b, c = map(int, input().split())
if a == 0:
print("No real root")
else:
d = b**2 - 4*a*c
if d == 0:
x = -b / (a * 2)
print("Two same roots x="+str(int(x)))
elif d < 0:
print("No real root")
else:
x1 = (-b + int(d**0.5)) / (a * 2)
x2 = (-b - int(d**0.5)) / (a * 2)
if x1 < x2:
x1, x2 = x2, x1
print("Two different roots x1="+str(int(x1))+" , x2="+str(int(x2)))