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