var
a,b,x:real;
begin
write ('A = ');readln(a);
write ('B = ');readln(b);
if (a=0) and (b>=0) then writeln ('Нет решений') else
if (a=0) and (b<0) then writeln ('X - любое число') else</p>
if a>0 then writeln ('X < ',-b/a:0:4) else
if a<0 then write ('X > ',-b/a:0:4);
readln;
end.