def max_height(node):
	class Node: 
		def __init__(self, data): 
			self.data = data 
			self.left = None
			self.right = None
	 
	if node is None: 
		return 0 ; 
	else : 
		left_height = max_height(node.left) 
		right_height = max_height(node.right) 
		if (left_height > right_height): 
			return left_height+1
		else: 
			return right_height+1
def max_height(node):
    class Node:
        def __init__(self, data):
            self.data = data
            self.left = None
            self.right = None
    if node is None:
       
        return 0
    else:
        left_height = max_height(node.left)
        right_height = max_height(node.right)
        if right_height < left_height:
            return left_height + 1
        else:
            return right_height + 1