#include <bits/stdc++.h>
using namespace std;
int minn = 1999999999;
int main() {
  int sum[100050], a[100050];
  int n, l, r, ql, qr, i, p;
  cin >> n >> l >> r >> ql >> qr;
  sum[0] = 0;
  for (i = 1; i <= n; i++) {
    cin >> a[i];
    sum[i] = sum[i - 1] + a[i];
  }
  for (i = 0; i <= n; i++) {
    int ll, rr;
    ll = i;
    rr = n - i;
    p = sum[ll] * l + (sum[n] - sum[ll]) * r;
    if (ll > rr)
      p += (ll - rr - 1) * ql;
    else if (ll < rr)
      p += (rr - ll - 1) * qr;
    minn = min(p, minn);
  }
  cout << minn << endl;
}
