Jax bought exactly enough tree to plant eight equal row. Then one tree died and couldn’t be planted, but he till had enough tree left to plant exactly nine equal row. After that, a tree wa tolen, but he till had enough tree left to plant exactly ten equal row. If he bought the leat number of tree atifying thee three condition, how many tree did he buy?