n, a, b = map(int, input().split())

mod = 10**9 + 7

ans = pow(2, n, mod)

ans -= 1

aa = 1
for i in range(1, a+1):
    aa = (aa * (n - i + 1) * pow(i, -1, mod)) % mod

bb = 1
for i in range(1, b+1):
    bb = (bb * (n - i + 1) * pow(i, -1, mod)) % mod

ans = (ans - aa - bb) % mod

print(ans) n, a, b = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split a b mod = 10**9 + 7 mod 10**9 + 7 10**9 10 9 7 ans = pow(2, n, mod) ans pow(2, n, mod) pow 2 n mod ans -= 1 ans 1 aa = 1 aa 1 for i in range(1, a+1):
    aa = (aa * (n - i + 1) * pow(i, -1, mod)) % mod i range(1, a+1) range 1 a+1 a 1 aa = (aa * (n - i + 1) * pow(i, -1, mod)) % mod aa (aa * (n - i + 1) * pow(i, -1, mod)) % mod aa * (n - i + 1) * pow(i, -1, mod) aa * (n - i + 1) aa n - i + 1 n - i n i 1 pow(i, -1, mod) pow i -1 mod mod bb = 1 bb 1 for i in range(1, b+1):
    bb = (bb * (n - i + 1) * pow(i, -1, mod)) % mod i range(1, b+1) range 1 b+1 b 1 bb = (bb * (n - i + 1) * pow(i, -1, mod)) % mod bb (bb * (n - i + 1) * pow(i, -1, mod)) % mod bb * (n - i + 1) * pow(i, -1, mod) bb * (n - i + 1) bb n - i + 1 n - i n i 1 pow(i, -1, mod) pow i -1 mod mod ans = (ans - aa - bb) % mod ans (ans - aa - bb) % mod ans - aa - bb ans - aa ans aa bb mod print(ans) print ans mod = 10**9 + 7 10**9 + 7 mod ans = pow(2, n, mod) pow(2, n, mod) ans b = map(int, input().split()) map(int, input().split()) b aa = (aa * (n - i + 1) * pow(i, -1, mod)) % mod (aa * (n - i + 1) * pow(i, -1, mod)) % mod aa bb = 1 1 bb a, b = map(int, input().split()) map(int, input().split()) a aa = 1 1 aa n, a, b = map(int, input().split()) map(int, input().split()) n ans = (ans - aa - bb) % mod (ans - aa - bb) % mod ans bb = (bb * (n - i + 1) * pow(i, -1, mod)) % mod (bb * (n - i + 1) * pow(i, -1, mod)) % mod bb ans -= 1 1 ans
n, a, b = map(int, input().split())

mod = 10**9 + 7

ans = pow(2, n, mod)

ans -= 1

aa = 1
for i in range(1, a+1):
    aa = (aa * (n - i + 1) * pow(i, -1, mod)) % mod

bb = 1
for i in range(1, b+1):
    bb = (bb * (n - i + 1) * pow(i, -1, mod)) % mod

ans = (ans - aa - bb) % mod

print(ans)