Dell Technologies Interview Question

Given a stack with number reverse the stack order