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