Pregunta de entrevista de Amazon

Stack question, on how to add and multiply using stack