#include<stdio.h>
#include<math.h>
int main()
{
int a, b, c, result1, result2;
scanf("%d %d %d", &a, &b, &c);
double ahh;
ahh = sqrt((b*b)-(4*a*c));
result1 = ((-b) +ahh)/2*a;
result2 = ((-b) - ahh)/2*a;
if((b*b-4*a*c)<0)
{
printf("No real root\n");
}
else if(result1 == result2)
{
printf("Two same roots x=%d\n", result1); //但這裡result1改成 -b/(2*a)就對了><
}
else
{
printf("Two different roots x1=%d , x2=%d\n", result1, result2);
}
return 0;
}