n,m,r=gets.split.map(&:to_i)
r-=n*m
if r<0 then
  puts 0
else
  dp=Array.new(n+1).map{Array.new(r+1,0)}
  dp[n][r]=1
  (0...n).reverse_each do |i|
    (0..r).each do |j|
      (0..j).each do |k|
        dp[i][k]+=dp[i+1][j]
      end
    end
  end
  puts dp[0][0]
end