#include <stdio.h>
#include <algorithm>
using namespace std;
double f(int a){
if(a == 0) return 1;
return a*f(a - 1);
}
int main()
{
int N, M, K;
double ans;
scanf("%d %d %d", &N, &M, &K);
if(K == 0){
ans = f(N + M - 2) / (f(N - 1) * f(M - 1));
printf("%d", (int)ans);
} else {
int x, y;
y = (K / M) + 1;
x = K - M * (y - 1);
ans = (double)((f(x + y - 2) / (f(x - 1) * f(y - 1))) * (f(M + N - x - y) / (f(M - x) * f(N - y))));
printf("%d", (int)ans);
}
return 0;
}
¸Þ¸ð¸® °ú´Ù°¡ ¾îµð¼ ÀϾ´ÂÁö ¾Ë°í ½Í¾î¿ä. ½ÇÁ¦ ÇÁ·Î±×·¥Àº 33KB´øµ¥...