<gh_stars>1-10
class node:
    def __init__(self,key):
        self.left=None
        self.right=None
        self.val=key

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