Program Zif_3_29_a(input,output);
var a,b,c:real;
    q:boolean;
begin
     read(a,b,c);
     q:=(a<>0)and(b*b-4*a*c>=0)or(a=0)and(b=0)and(c=0)or(a=0)and(b<>0);
     writeln(q)
end.