#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n, l, r, wl, wr;
  cin >> n >> l >> r >> wl >> wr;
  static int A[100005];
  static long long psum[100005];
  for (int(i) = 0; (i) < (int)(n); ++(i))
    cin >> A[i], psum[i] = i ? A[i] + psum[i - 1] : A[i];
  long long res = (long long)1e18;
  for (int(i) = 0; (i) < (int)(n + 1); ++(i)) {
    int cl = i, cr = n - i;
    long long c =
        (i ? psum[i - 1] : 0) * l + (psum[n - 1] - (i ? psum[i - 1] : 0)) * r;
    if (cl > cr + 1) c += (cl - cr - 1) * (long long)wl;
    if (cl + 1 < cr) c += (cr - cl - 1) * (long long)wr;
    res = min(res, c);
  }
  cout << res << endl;
  return 0;
}
