Evaluate with stacks example