#include <bits/stdc++.h>
using namespace std;
int sum[100001];
int main() {
  int n, l, r, Ql, Qr, i, x;
  while (scanf("%d%d%d%d%d", &n, &l, &r, &Ql, &Qr) != EOF) {
    sum[0] = 0;
    for (i = 1; i <= n; i++) {
      scanf("%d", &x);
      sum[i] = sum[i - 1] + x;
    }
    int s = 1000000000;
    for (i = 0; i <= n; i++) {
      int ans = 0;
      ans += sum[i] * l;
      ans += (sum[n] - sum[i]) * r;
      if (n - i > i)
        ans += (n - i - i - 1) * Qr;
      else if (n - i < i)
        ans += (i + i - n - 1) * Ql;
      if (ans < s) s = ans;
    }
    printf("%d\n", s);
  }
}
