K, A, B = list(map(int, input().split()))



k = K

ans = A

k -= A - 1

if k % 2 == 1:

    k -= 1

    ans += 1

    

if B-A >= 2:

    ans += (k//2) * (B-A)

    

else:

    ans += k



print(ans)
K,A,B=list(map(int,input().split()))

s=A

K-=A-1



if K>=2 and B-A>=2:

  t=K//2

  s+=t*(B-A)

  K-=t*2

  

s+=K

print(s)
K, A, B = list(map(int, input().split()))
k = K
ans = A
k -= A - 1
if k % 2 == 1:
    k -= 1
    ans += 1
if B - A >= 2:
    ans += (k // 2) * (B - A)
else:
    ans += k
print(ans)

K, A, B = list(map(int, input().split()))
s = A
K -= A - 1
if K >= 2 and B - A >= 2:
    t = K // 2
    s += t * (B - A)
    K -= t * 2
s += K
print(s)

-k = K -ans = A -k -= A - 1 -if k % 2 == 1: -    k -= 1 -    ans += 1 -if B - A >= 2: -    ans += (k // 2) * (B - A) -else: -    ans += k -print(ans) +s = A +K -= A - 1 +if K >= 2 and B - A >= 2: +    t = K // 2 +    s += t * (B - A) +    K -= t * 2 +s += K +print(s)