#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, a, b, c;
  cin >> n >> a >> b >> c;
  if (n == 1) {
    cout << 0 << endl;
  } else if (n == 2) {
    cout << min((long long int)a, (long long int)b) << endl;
  } else if ((a <= b) && (a <= c)) {
    cout << (n - 1) * a << endl;
  } else if ((b <= a) && (b <= c)) {
    cout << (n - 1) * b << endl;
  } else if ((a <= b) && (c < a)) {
    cout << a + (n - 2) * c << endl;
  } else if ((b <= a) && (c < b)) {
    cout << b + (n - 2) * c << endl;
  }
}
