結果 : function of push and pop in stack