He was so deep in thought, thinking of the problem ________he knocked into the tree without noticing it.