import java.util.*;
class Quadratic_equation
{
public static void main(String args[])
{
int a,b,c;
double d,r1,r2;
Scanner sc= new Scanner(System.in);
System.out.println("Enter the value of a,b,c");
a=sc.nextInt();
b=sc.nextInt();
c=sc.nextInt();
d=Math.sqrt(b*b-4*a*c);
if(d>=0)
{
r1=(-b+d)/(2*a);
r2=(-b-d)/(2*a);
System.out.println("Roots are"+r1+"and"+r2);
}
else
System.out.println("Roots imaginary & Unequal");
}
}