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