Amazon Interview Question

Stack question, on how to add and multiply using stack