MAQ Software interview question

implement the functionality of queue using stack functions?