#include <bits/stdc++.h>
using namespace std;
int main() {
  int w[100010], l, r, ql, qr, n;
  int SUM[100010] = {0};
  ios_base::sync_with_stdio(false);
  cin >> n >> l >> r >> ql >> qr;
  for (int i = 1; i <= n; ++i) cin >> w[i];
  for (int i = 1; i <= n; ++i) SUM[i] = SUM[i - 1] + w[i];
  int MIN = 0x7fffffff;
  for (int i = 0; i <= n; ++i) {
    int tmp;
    if (i <= (n / 2))
      tmp = ((n - i - i) > 1 ? (n - i - i - 1) : 0) * qr;
    else
      tmp = ((i - n + i) > 1 ? (i - n + i - 1) : 0) * ql;
    if (SUM[i] * l + (SUM[n] - SUM[i]) * r + tmp < MIN)
      MIN = SUM[i] * l + (SUM[n] - SUM[i]) * r + tmp;
  }
  cout << MIN << endl;
  return 0;
}
