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