let a = Array.map decimal <| stdin.ReadLine().Split(' ') let x,y = a.[0],a.[1] int(sqrt(float(x*x+y*y))*2.)+1 |> printfn "%d"