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