#include <stdio.h>
#include <math.h>
int main()
{
int a,b,c,d;
int x1,x2,x3;
scanf("%d%d%d",&a,&b,&c);
d=(b*b)-(4*a*c);
if(d>0)
{
x1 = (-b+sqrt(d))/(2*a);
x2 = (-b-sqrt(d))/(2*a);
printf("Two different roots x1=%d , x2=%d\n",x1,x2);
}
if(d=0)
{
x3= -b/(2*a);
printf("Two same roots x=%d\n",x3);
}
if(d<0)
{
printf("No real root\n");
}
return 0;
}