program A176
implicit none
integer(4) :: N, X, T
integer(4) :: a, ans

read(5,*) N, X, T

if (mod(N,X) == 0) then
    a = N / X
else
    a = N / X + 1
end if

ans = a * T

write(6,*) ans


end program A176