Cubix, 17 bytes
....1I>sO)su.@?(O
cubified:
. .
. .
1 I > s O ) s u
. @ ? ( O . . .
. .
. .
Pushes 1
, reads in the input (I
), then enters the loop which swaps the top of the stack, outputs it, decrementsincrements, swaps, outputs the top of the stack, decrements, and stops if the top of the stack is 0.