main :: IO ()
main = do
  [n, a, b] <- (fmap (\x -> read x :: Int)) . words <$> getLine
  xs <- (fmap (\x -> read x :: Int)) . words <$> getLine
  let ds = map (\(x, y) -> abs (x - y)) (zip xs (tail xs)) in
    print $ sum $ map (\d -> min (a * d) b) ds
