#include <bits/stdc++.h>
using namespace std;
const int INF = 1e8;
int n, a, b, c, x, y, z;
int main() {
  ios::sync_with_stdio(false);
  cout.tie(0);
  cin.tie(0);
  cin >> n >> a >> b >> c;
  x = (n - 1) * a;
  y = (n - 1) * b;
  z = INF;
  if (n >= 2) {
    z = min(a, b) + (n - 2) * c;
  }
  cout << min(x, min(y, z)) << endl;
  return 0;
}
