import Foundation

let input_line: String = readLine()!
let split: [String] = input_line.components(separatedBy: " ")

let n = Double(split[0])!
let x = Double(split[1])!
let t = Int(split[2])!

print(Int(ceil(n/x)) * t)