class Treenode:
    def __init__(self,val):
        self.val = val
        self.left,self.right= None,None
        
class Treenode:
    def __init__(self,val):
        self.val = val
        self.left,self.right= None,None
        