read n echo $(seq 1 $n)$(yes + | head -n $(($n-1)))p | dc