Finds the minimum Element present in the stack after performing push and pop operations