########################################################
#Author: Leonardo Deitos Veiga
########################################################

class Node:
    def __init__(self, key, source = None, target_left = None, target_right = None ):
        self.source = source
        self.key = key
        self.target_left = target_left
        self.target_right = target_right

    #Sets
    def set_source(self, source):
        self.source = source

    def set_target_left(self, target_left):
        self.target_left = target_left

    def set_target_right(self, target_right):
        self.target_right = target_right

  
    #Gets
    def get_source(self):
        return self.source

    def get_key(self):
        return self.key
        
    def get_target_left(self):
        return self.target_left

    def get_target_right(self):
        return self.target_right


1d636cd3ace2ebe163e23d71d79fcd571723357e
class Node:

    def __init__(self, key, source=None, target_left=None, target_right=None):
        self.source = source
        self.key = key
        self.target_left = target_left
        self.target_right = target_right
    <mask token>
    <mask token>
    <mask token>

    def get_source(self):
        return self.source
    <mask token>

    def get_target_left(self):
        return self.target_left

    def get_target_right(self):
        return self.target_right

class Node:

    def __init__(self, key, source=None, target_left=None, target_right=None):
        self.source = source
        self.key = key
        self.target_left = target_left
        self.target_right = target_right

    def set_source(self, source):
        self.source = source
    <mask token>
    <mask token>

    def get_source(self):
        return self.source
    <mask token>

    def get_target_left(self):
        return self.target_left

    def get_target_right(self):
        return self.target_right

class Node:

    def __init__(self, key, source=None, target_left=None, target_right=None):
        self.source = source
        self.key = key
        self.target_left = target_left
        self.target_right = target_right

    def set_source(self, source):
        self.source = source

    def set_target_left(self, target_left):
        self.target_left = target_left

    def set_target_right(self, target_right):
        self.target_right = target_right

    def get_source(self):
        return self.source
    <mask token>

    def get_target_left(self):
        return self.target_left

    def get_target_right(self):
        return self.target_right

class Node:

    def __init__(self, key, source=None, target_left=None, target_right=None):
        self.source = source
        self.key = key
        self.target_left = target_left
        self.target_right = target_right

    def set_source(self, source):
        self.source = source

    def set_target_left(self, target_left):
        self.target_left = target_left

    def set_target_right(self, target_right):
        self.target_right = target_right

    def get_source(self):
        return self.source

    def get_key(self):
        return self.key

    def get_target_left(self):
        return self.target_left

    def get_target_right(self):
        return self.target_right

########################################################
#Author: Leonardo Deitos Veiga
########################################################

class Node:
    def __init__(self, key, source = None, target_left = None, target_right = None ):
        self.source = source
        self.key = key
        self.target_left = target_left
        self.target_right = target_right

    #Sets
    def set_source(self, source):
        self.source = source

    def set_target_left(self, target_left):
        self.target_left = target_left

    def set_target_right(self, target_right):
        self.target_right = target_right

  
    #Gets
    def get_source(self):
        return self.source

    def get_key(self):
        return self.key
        
    def get_target_left(self):
        return self.target_left

    def get_target_right(self):
        return self.target_right

