#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,x,x1,x2;
cin>>a>>b>>c;//ax^2+bx+c
x=(b*b-4*a*c);
x1=(-b+sqrt(x))/(2*a);
x2=(-b-sqrt(x))/(2*a);
if(x1<x2)
swap(x1,x2);
if(x>0){cout<<"Two different roots x1="<<x1<<" , x2="<<x2;}
if(x==0){cout<<"Two same roots x="<<x1;}
if(x<0){cout<<"No real root";}
return 0;
}