Your problem is between lines 23 - 31. You get 3 numbers from the user but you only use 1 variable so everytime you overwrite the previous number that the user input. Then at line 31 you push a single value, the last onbe entered, onto the stack. This comment // PUSH NUMBERS ON STACK
at line 30 is distinctly confusing because it is not what the code is doing at all.
You need to push the value onto the stack after each time the user enters it.