stdin = gets.chomp().split(" ").map {|n| n.to_i}
k = stdin[0]
a = stdin[1]
b = stdin[2]

bsnum = 1
yen = 0
if a>=b
k.times do
bsnum+=1
end
else

k.times do |i|
    if yen>0
        yen-=1
        bsnum+=b
    elsif ((k-1)!=i)&&(bsnum>=a)
        bsnum-=a
        yen+=1
    else
        bsnum+=1
    end
end
end

print(bsnum)