l=list(map(int,input().split())) def fac(x): if x==0: return 1 if x==1: return 1 else: return x*fac(x-1) a=fac(l[1]) b=fac(l[2]) c=fac(l[1]-l[2]) print((a//(b*c))%(10**9+7))