#include<bits/stdc++.h>
using namespace std;
#define int long long

signed main(){
	int n,a,b;cin>>n>>a>>b;
	int ans=0;
	if(b-a<=2 || n+1-2 <a)ans=n+1;
	else {
		int m=n-(a-1);
		ans=a+(b-a)*(m/2)+m%2;

	}
	cout<<ans<<endl;
}