var
a,b,x:real;
begin
read(a,b);
if (a>b) then x:=a*b-1 else x:=(a-5)/b;
writeln('x = ',x)
end.