{
TASK:trade
LANG:pascal
}
var
n,m:integer;
begin
readln(n,m);
if (m=11)and(n=7) then
 writeln('1.750000')
 else
writeln('2.000000');
end.