let [|a; b|] = stdin.ReadLine().Split " " |> Array.map int let aArray = [|0..a|] let bArray = Array.map ((*)5) [|0..b|] [| for i in aArray -> [| for j in bArray -> i + j |] |] |> Array.concat |> Set.ofArray |> Seq.toArray |> Array.sort |> fun x -> x.[1..] |> Array.iter (printfn "%d")