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.println("complex");
}
else
{
result=Math.floor((-b+Math.sqrt(b*b-4*a*c))/(2*a)*10)/10;
System.out.printf("%.1f",result);
}
}
}
어디가틀렸는지모르겠어요..