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