let odai N = seq {for i in 1..N -> if i % 15 = 0 then 4 elif i % 3 = 0 || i % 5 = 0 then 2 else 0} |> Seq.sum let doIt () = let N = stdin.ReadLine () |> int odai N |> printfn "%d"