put () into stack
repeat with each item of 1 .. 10
push it into stack
end repeat
repeat while stack is not empty
pop stack
put it