class Stack():
  def __init__(self,list):
        self.list=list

  def push(self,value):
      self.list.append(value)

  def pop(self):
      return self.list.pop()

  def printstack(self):
       print(self.list)

a=Stack([1,2,3])
a.push(1)
a.push(2)
a.pop()
a.printstack()

f7a087019443dd18370688131721162b68e1f6ad
class Stack:
    <mask token>

    def push(self, value):
        self.list.append(value)

    def pop(self):
        return self.list.pop()

    def printstack(self):
        print(self.list)


<mask token>

class Stack:

    def __init__(self, list):
        self.list = list

    def push(self, value):
        self.list.append(value)

    def pop(self):
        return self.list.pop()

    def printstack(self):
        print(self.list)


<mask token>

class Stack:

    def __init__(self, list):
        self.list = list

    def push(self, value):
        self.list.append(value)

    def pop(self):
        return self.list.pop()

    def printstack(self):
        print(self.list)


<mask token>
a.push(1)
a.push(2)
a.pop()
a.printstack()

class Stack:

    def __init__(self, list):
        self.list = list

    def push(self, value):
        self.list.append(value)

    def pop(self):
        return self.list.pop()

    def printstack(self):
        print(self.list)


a = Stack([1, 2, 3])
a.push(1)
a.push(2)
a.pop()
a.printstack()

class Stack():
  def __init__(self,list):
        self.list=list

  def push(self,value):
      self.list.append(value)

  def pop(self):
      return self.list.pop()

  def printstack(self):
       print(self.list)

a=Stack([1,2,3])
a.push(1)
a.push(2)
a.pop()
a.printstack()
