Implement a arithmetic expression evaluator using two stacks.