import codecs
import sys
from math import *
sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())
a,b,c = map(int,input().split())
# 若要用sqrt() 需先引入模組 import math 或 from maht import *
# 亦或是用 i**0.
i = int(b**2 - 4*a*c)
if i>0 :
i = int(sqrt(i))
j = int((-b + i)/2*a)
k = int((-b - i)/2*a)
if k>j:
i,j = j,i
print("Two different roots x1=" + str(j) + " , " + "x2=" + str(k))
elif i == 0 :
j = int(-b/2*a)
print("Two same roots x=" + str(j))
else :
print("No real root")