def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def dfs_print(root):
        if root is None:
            return
        dfs_print(root.left)
        print(str(root.key) + ' ', end='')
        dfs_print(root.right)