fun main(args: Array<String>) {
    yahooprocon2019qualcc()
}

fun yahooprocon2019qualcc() {
    val (k, a, b) = readLine()!!.split(' ').map { it.toLong() }

    val answer = if (b - a <= 2 || k - a + 1 < 2) 1 + k else {
        val needForA = a - 1
        val remain = k - needForA
        1 + needForA + (remain / 2) * (b - a) + remain % 2
    }

    println(answer)
}
