program atcoder
    implicit none
    integer(8) :: ans,k,a,b
    logical x
    read*,k,a,b
    ans = 0
    x = (b-a)>2_8
    do while(k>0_8)
        if(ans>=a .and. x .and. k>1_8)then
            ans = ans + (b-a)
            k = k-1_8
        else
            ans = ans + 1_8
        endif
        k = k-1_8
    enddo
    write(*,'(I0)')ans
    stop 
contains
end program atcoder