import Stack
defstack_mystery(myStack):
    mystery=0
    while not myStack.isEmpty():
        value=myStack.pop()
        if value>mystery:
            mystery=value
      Â
      return mystery
def main():
   s=Stack.Stack()
      s.push(20)
      s.push(10)
      s.push(50)
      s.push(100)
      s.push(40)
      print(stack_mystery(s))
main()
Answer the followingquestions
a) What is the outputof the print(stack_mystery(s)) statement in the main method?
b) What is the task ofthe stack_mystery function? What does the mystery variablerepresent?