#include <bits/stdc++.h>
using namespace std;
long long l, r, ql, qr, w[100010], s[100010], ans, tmp, d;
int n;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ans = 0x3f3f3f3f3f3f3f3f;
  cin >> n >> l >> r >> ql >> qr;
  for (int i = 0; i < n; ++i) {
    cin >> w[i + 1];
    s[i + 1] = s[i] + w[i + 1];
  }
  for (int i = 0; i < n + 1; ++i) {
    tmp = l * s[i] + r * (s[n] - s[i]);
    d = i - (n - i);
    if (d > 0) tmp += (d - 1) * ql;
    if (d < 0) tmp += (-d - 1) * qr;
    ans = min(ans, tmp);
  }
  cout << ans << '\n';
}
