import java.io.BufferedReader
import java.io.InputStreamReader
import java.io.PrintWriter
import kotlin.math.max
import kotlin.math.min

val br = BufferedReader(InputStreamReader(System.`in`))
val out = PrintWriter(System.out)

fun main() {
    br.use { out.use {
        solve()
        out.flush()
    } }
}

fun solve() {
    val (n, a, b) = readLongList()
    // 全部で2のn乗 - 1
    val all = ModInt.valueOf(2).modPow(n) - ModInt.valueOf(1)

    // a個選ぶ
    var aPa = ModInt.valueOf(1)
    for (i in 1L..a) aPa *= ModInt.valueOf(i)

    var nPa = ModInt.valueOf(1)
    for (i in n downTo (n - a + 1)) nPa *= ModInt.valueOf(i)

    var nCa = nPa / aPa

    // b選ぶ
    var bPb = ModInt.valueOf(1)
    for (i in 1L..b) bPb *= ModInt.valueOf(i)

    var nPb = ModInt.valueOf(1)
    for (i in n downTo (n - b + 1)) {
        nPb *= ModInt.valueOf(i)
    }
    var nCb = nPb / bPb

    var ans = all - nCa - nCb
    out.println(ans)

}

/**
 * always positive number (Use for minus)
 */
class ModInt private constructor(val value: Long, val mod: Long) {
    companion object {
        @JvmStatic
        fun valueOf(value: Long, mod: Long = 1000000007L): ModInt {
            var v = value % mod
            if (v < 0) v += mod
            return ModInt(v, mod)
        }
    }

    operator fun unaryMinus() = ModInt(mod - value, mod)

    operator fun plus(other: ModInt): ModInt {
        var value = value + other.value
        if (value >= mod) { value -= mod }
        return ModInt(value, mod)
    }

    operator fun minus(other: ModInt): ModInt {
        var value = value - other.value
        if (value < 0) { value += mod }
        return ModInt(value, mod)
    }

    operator fun times(other: ModInt) = ModInt((value * other.value) % mod, mod)

    operator fun div(other: ModInt): ModInt {
        if (other.value == 0L) throw ArithmeticException("/ by zero")
        val value = (this.value * modInverse(other.value, mod)) % mod
        return ModInt(value, mod)
    }

    override fun toString() = value.toString()

    /** O(log(n)): n >= 0 */
    fun modPow(n: Long) = ModInt(modPow(this.value, n, mod), mod)

    /**  O(log(MOD)) */
    fun inverse() = ModInt(modInverse(this.value, mod), mod)
}

/** O(log(m)) mod <= 2_147_483_648, n >= 0 */
fun modPow(n: Long, m: Long, MOD: Long = (1L shl 31)): Long {
    if (m < 0) throw ArithmeticException("The power of negative exponent is not integer.")
    if (MOD <= 0) throw ArithmeticException("MOD <= 0")

    var ret = 1L
    var x = (n % MOD)
    if (x < 0) x += MOD
    var k = m
    while (k > 0) {
        if ((k and 1L) == 1L) { ret = (ret * x) % MOD }
        x = (x * x) % MOD
        k = k shr 1
    }
    return ret
}

/**
 * O(log(MOD))
 */
fun modInverse(n: Long, mod: Long = 1000000007L): Long {
    var a = n % mod
    if (a < 0) a += mod

    if (a == 0L) throw ArithmeticException("n is not relatively prime to mod")

    var b = mod
    var u = 1L
    var v = 0L
    while (b > 0) {
        val t = a / b
        a -= t * b
        a = b.also { b = a } // swap(a, b)
        u -= t * v
        u = v.also { v = u } // swap(u, v)
    }
    u %= mod
    if (u < 0) u += mod
    return u
}

fun readInteger() = Integer.parseInt(br.readLine())
fun readLong() = java.lang.Long.parseLong(br.readLine())
fun readStringList() = br.readLine()!!.split(' ')
fun readIntegerList() = readStringList().map(Integer::parseInt)
fun readLongList() = readStringList().map(java.lang.Long::parseLong)
fun readDoubleList() = readStringList().map(java.lang.Double::parseDouble)


Measured memory_bytes: 53624