Pregunta de entrevista de FactSet

Given an infix arithmetic expression, evaluate it.