let [| l; r |] = stdin.ReadLine().Split() |> Array.map int let f = function | x when x <= 295 -> 2 | x when x <= 416 -> 1 | _ -> 0 f l - f r |> printfn "%d"