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

if B-A<=2 or K<A:print((K+1))

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

if B<=A+1 or K<=A: ans = K+1

else: ans = 1+K-((K-A+1)//2)*2 + (B-A)*((K-A+1)//2)

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

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

-if B - A <= 2 or K < A: -    print((K + 1)) +if B <= A + 1 or K <= A: +    ans = K + 1 -    print((((K - A + 1) // 2) * (B - A) + A + 1 - (K - A) % 2)) +    ans = 1 + K - ((K - A + 1) // 2) * 2 + (B - A) * ((K - A + 1) // 2) +print(ans)