k,a,b=gets.chomp.split.map(&:to_i)
flag= a<=k ? 1 : 0
flag_=0
if flag==0
    puts k+1
else
    if (flag_=(k-a)/(a+1))>=1
        puts (k-((a*(flag_+1))+1))+((flag_+1)*b)
    else
        puts (k-a-1)+b
    end
end