Trees in a line