(1) if the next input is a number, push it onto the stack
(2) if the next input is an operator, pop two elements off the stack, apply the operator, push result
right = pop
left = pop
push(left operator right)
(3) at the end of the input, print the top of stack (stack should contain 1 element, but you don't have to check)