class Integer

  def factorial
    (1..self).inject(1,:*)
  end
  alias :! :factorial

  def comb(r) # aCb
    return self.! / ((self-r).! * r.!)
  end
  alias :C :comb

  def perm(r) # aPb
    return self.!/r.!
  end
  alias :P :perm

  def dupl(r) # aPb
    return (self+r-1).!/(r.! * (self-1).!)
  end
  alias :H :dupl
end

n,k = gets.split.map(&:to_i)
for i in 1..k
  puts (i).H(k-i) * (i+1).H(n-k-i+1)
end
