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)