import strscans

let
  (_, a, b, x) = stdin.readAll.scanTuple"$i $i $i"
var
  cnt = 0

while cnt * a >= x:
  inc cnt

echo cnt * b