import java.util.Scanner;
public class Main
{
public static void main(String[] args) {
Scanner keyboard=new Scanner(System.in);
double a=keyboard.nextDouble();
double b=keyboard.nextDouble();
double c=keyboard.nextDouble();
double result;
if((b*b-4*a*c)<0)
{
System.out.print("complex");
}
else
{
result=Math.floor((-b+Math.sqrt(b*b-4*a*c))/(2*a)*10)/10;
System.out.printf("%.1f",result);
}
}
}