(chegg textbook solution is incorrect)Write a MARIE program thatperforms the three basic stack operations: push, peek, and pop (inthat order). In the peek operation, output the value that’s on thetop of the stack. (If you are unfamiliar with stacks, see AppendixA for more information.)
Answer