let p = [2;3;5;7;11;13] let c = [4;6;8;9;10;12] let s = List.collect (fun x -> List.map (fun y -> x*y) c) p let calc (n:int) = decimal(n) / 36M let N = stdin.ReadLine() |> int s |> List.filter ((=)N) |> List.length |> calc |> printfn "%M"