package main

import (
  "fmt"
)

func rec(ln, curPos, prevVal, maxVal int) [][]int {
  
  if ln == curPos+1 {
    ret := make([][]int, 2)
    ret[0] = make([]int, 1)
    ret[1] = make9[]int, 1)
    ret[0][0] = 0
    ret[1][0] = maxVal + 1
    return ret
  }
  
  var arr [][]int
  for i := 0; i <= maxVal; i++ {
    tmpArr := rec(ln, curPos + 1, i, maxVal)
    for j := 0; j < ln(tmpArr); j++ {
      arr = append(arr, []int{})
      arr = append(arr, []int{})
      arr[len(arr)-1] = make([]int, ln - curPos)
      arr[len
      for k := 0; k < len(tmpArr[j]); k++ {
        arr[len(arr)-1][k] = tmpArr[j][k]
      }
    }
  }
  tmpArr := rec(ln, curPos + 1, maxVal, maxVal)
  for i := 0; i < len(tmpArr); i++ {
    arr = append(arr, []int{})
    arr[len(arr)-1] = make([]int, ln - curPos)
    for j := 0; j < ln; j++ {
      arr[len(arr)-1][j] = tmpArr[i][j]
    }
  }
  
  return arr
}

func main() {
  var N int
  fmt.Scanf("%d\n", &N)
  
  
}