n,m,r=list(map(int,input().split()))

a,b=sorted([n-1,r-m*n])

if a<1:print((0))

else:

 d=1

 for i in range(a):d*=i+1

 u=1

 for i in range(b,a+b):u*=i+1

 print((u//d))

n,m,r=list(map(int,input().split()))

r-=n*m

if r<0:print((0))

else:

 from math import*

 print((factorial(n+r-1)//factorial(r)//factorial(n-1)))

n, m, r = list(map(int, input().split()))
a, b = sorted([n - 1, r - m * n])
if a < 1:
    print((0))
else:
    d = 1
    for i in range(a):
        d *= i + 1
    u = 1
    for i in range(b, a + b):
        u *= i + 1
    print((u // d))

n, m, r = list(map(int, input().split()))
r -= n * m
if r < 0:
    print((0))
else:
    from math import *

    print((factorial(n + r - 1) // factorial(r) // factorial(n - 1)))

-a, b = sorted([n - 1, r - m * n]) -if a < 1: +r -= n * m +if r < 0: -    d = 1 -    for i in range(a): -        d *= i + 1 -    u = 1 -    for i in range(b, a + b): -        u *= i + 1 -    print((u // d)) +    from math import * + +    print((factorial(n + r - 1) // factorial(r) // factorial(n - 1)))