for(;[a,b]=readline(i=1.5708).split(' ');print(f*a*4+.5|0))for(u=f=0,k=b/a;u++<99/k;i*=(++u-4+3/u)/u*(1-k*k))f+=i