n, m, r = gets.chomp.split(" ").map{|s| s.to_i}

a, b = r-n*m, n-1

if a < 0 then
  puts 0
else
  if a < b then
    a, b = b, a
  end
  
  res = 1
  for i in a+1..n+r-n*m-1
    res *= i
  end
  
  for i in 1..b
    res /= i
  end
  
  puts res
end