N, A, B = list(map(int, input().split()))

X = list(map(int, input().split()))



ans1 = 0

ans2 = 0

for i in range(1, N):

    D = X[i] - X[i - 1]

    ans1 += D * A

    ans2 += min(D * A, B)



print((min(ans1, ans2)))

N, A, B = list(map(int, input().split()))

X = list(map(int, input().split()))



ans = 0

for i in range(1, N):

    D = X[i] - X[i - 1]

    ans += min(D * A, B)



print(ans)

N, A, B = list(map(int, input().split()))
X = list(map(int, input().split()))
ans1 = 0
ans2 = 0
for i in range(1, N):
    D = X[i] - X[i - 1]
    ans1 += D * A
    ans2 += min(D * A, B)
print((min(ans1, ans2)))

N, A, B = list(map(int, input().split()))
X = list(map(int, input().split()))
ans = 0
for i in range(1, N):
    D = X[i] - X[i - 1]
    ans += min(D * A, B)
print(ans)

-ans1 = 0 -ans2 = 0 +ans = 0 -    ans1 += D * A -    ans2 += min(D * A, B) -print((min(ans1, ans2))) +    ans += min(D * A, B) +print(ans)