#include<bits/stdc++.h>
using namespace std;
int main(){
int a[3],eva;
for(int i=0;i<3;i++)cin>>a[i];
eva=pow(a[1],2)-4*a[0]*a[2];
if(eva>0)cout<<"Two different roots x1="<<(-a[1]+sqrt(eva))/(2*a[0])<<" , x2="<<(-a[1]-sqrt(eva))/(2*a[0]);
else if(eva==0)cout<<"Two same roots x="<<(-a[1])/(2*a[0]);
else cout<<"No real root";
return 0;
}