n,a,b=map(int,input().split())
c=d=1
e=0
m=10**9+7
for i in range(1,b+1):
    c=(c*(n+1-i))%m
    d=(d*i)%m
    if i==a or i==b:
        e+=c*pow(d,m-2,m)%m
print((pow(2,n,m)-e-1)%m) n,a,b=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split a b c=d=1 c 1 =d=1 d 1 e=0 e 0 m=10**9+7 m 10**9+7 10**9 10 9 7 for i in range(1,b+1):
    c=(c*(n+1-i))%m
    d=(d*i)%m
    if i==a or i==b:
        e+=c*pow(d,m-2,m)%m i range(1,b+1) range 1 b+1 b 1 c=(c*(n+1-i))%m c (c*(n+1-i))%m c*(n+1-i) c n+1-i n+1 n 1 i m d=(d*i)%m d (d*i)%m d*i d i m if i==a or i==b:
        e+=c*pow(d,m-2,m)%m i==a or i==b i==a i a i==b i b e+=c*pow(d,m-2,m)%m e c*pow(d,m-2,m)%m c*pow(d,m-2,m) c pow(d,m-2,m) pow d m-2 m 2 m m print((pow(2,n,m)-e-1)%m) print (pow(2,n,m)-e-1)%m pow(2,n,m)-e-1 pow(2,n,m)-e pow(2,n,m) pow 2 n m e 1 m c=d=1 1 c c=(c*(n+1-i))%m (c*(n+1-i))%m c a,b=map(int,input().split()) map(int,input().split()) a e+=c*pow(d,m-2,m)%m c*pow(d,m-2,m)%m e d=1 1 d m=10**9+7 10**9+7 m n,a,b=map(int,input().split()) map(int,input().split()) n e=0 0 e d=(d*i)%m (d*i)%m d b=map(int,input().split()) map(int,input().split()) b
n,a,b=map(int,input().split())
c=d=1
e=0
m=10**9+7
for i in range(1,b+1):
    c=(c*(n+1-i))%m
    d=(d*i)%m
    if i==a or i==b:
        e+=c*pow(d,m-2,m)%m
print((pow(2,n,m)-e-1)%m)