a,b,c = map(int,input().split()) #輸入abc
z = b**2-4*a*c #判別式
x1 = (-b+(z**0.5))/2*a #根1
x2 = (-b-(z**0.5))/2*a #根2
if z > 0 : #判別式>0 兩個根
print('Two different roots x1='+str(int(x1))+' , x2='+str(int(x2))) #str(int(x1)) 將float轉成int(去小數點)再轉成str(去空格)
elif z == 0: #判別式=0 重根
print('Two same roots x='+str(int(x1)))
else:
print('No real root')