object Main extends App {

  val MaxIndex = 0
  var compMemo = Array.fill(100000 + 100)(-1)
  compMemo(0) = 1

  def fact(n: Int): Int = {
    val index = compMemo.lastIndexWhere(n => n!= -1) + 1
    for (i <- index to n) compMemo(i) = i * compMemo(i - 1)
    compMemo(n)
  }

  def comp(m: Int, n: Int): Int = {
    if (m < n) 0
    else fact(m) / (fact(n) * fact(m - n))
  }

  val sc = new java.util.Scanner(System.in)
  val n = sc.nextInt()
  val a = (for (i <- 1 to (n + 1)) yield sc.nextInt()).toVector
  for (k <- 1 to (n + 1)) println(comp(n - 1, k - 2) + comp(n - 1, k - 1) + comp(n - 1, k))
}