    let input = stdin.ReadLine().Split(' ') |> Array.map int

    let N = input.[0]
    let X = input.[1]
    let T = input.[2]

    let count = if N % X = 0 then N / X else ((N / X) + 1)

    let ans = count * T

    printfn "%d" ans