class Package(object):
    def __init__(self):
        self.capacity=20
        self.value=0
        self.weight=0
        self.nodes={}

    def get_value(self):
        return self.value

    def get_weight(self):
        return self.weight

    def get_rest(self):
        return self.capacity-self.weight

    def set_capacity(self,c):
        self.capacity=c

    def add_node(self,k,v):
        self.nodes[k]=v
    
    def remove_node(self,k):
        del self.nodes[k]

def func():
    pack=Package()
    


func()
89eb5f28b998e6fcba0038f971973e81ef0c15a5
class Package(object):
    <mask token>

    def get_value(self):
        return self.value

    def get_weight(self):
        return self.weight

    def get_rest(self):
        return self.capacity - self.weight
    <mask token>
    <mask token>
    <mask token>


<mask token>

class Package(object):

    def __init__(self):
        self.capacity = 20
        self.value = 0
        self.weight = 0
        self.nodes = {}

    def get_value(self):
        return self.value

    def get_weight(self):
        return self.weight

    def get_rest(self):
        return self.capacity - self.weight
    <mask token>
    <mask token>
    <mask token>


<mask token>

class Package(object):

    def __init__(self):
        self.capacity = 20
        self.value = 0
        self.weight = 0
        self.nodes = {}

    def get_value(self):
        return self.value

    def get_weight(self):
        return self.weight

    def get_rest(self):
        return self.capacity - self.weight

    def set_capacity(self, c):
        self.capacity = c
    <mask token>
    <mask token>


<mask token>

class Package(object):

    def __init__(self):
        self.capacity = 20
        self.value = 0
        self.weight = 0
        self.nodes = {}

    def get_value(self):
        return self.value

    def get_weight(self):
        return self.weight

    def get_rest(self):
        return self.capacity - self.weight

    def set_capacity(self, c):
        self.capacity = c

    def add_node(self, k, v):
        self.nodes[k] = v

    def remove_node(self, k):
        del self.nodes[k]


def func():
    pack = Package()


<mask token>

class Package(object):
    def __init__(self):
        self.capacity=20
        self.value=0
        self.weight=0
        self.nodes={}

    def get_value(self):
        return self.value

    def get_weight(self):
        return self.weight

    def get_rest(self):
        return self.capacity-self.weight

    def set_capacity(self,c):
        self.capacity=c

    def add_node(self,k,v):
        self.nodes[k]=v
    
    def remove_node(self,k):
        del self.nodes[k]

def func():
    pack=Package()
    


func()