#include <bits/stdc++.h>
using namespace std;
long long n, i, m, k, j, ans;
string s, c;
char o;
int main() {
  cin >> n >> m >> k;
  cin >> s;
  o = s[0];
  if (o == '0') c += o;
  for (i = 0; i < n; i++) {
    if (s[i] == o)
      continue;
    else {
      c += s[i];
      o = s[i];
    }
  }
  long long L = c.length();
  long long z = (L + 1) / 2;
  ans = k * z;
  z--;
  for (i = 1; i < L - 1; i += 2) {
    long long p = m * ((i + 1) / 2);
    ans = min(ans, p + z * k);
    z--;
  }
  cout << ans << endl;
}
