A family tree business removes overgrown trees for 3 months in the summer. In June, they removed 1/3 the number of trees as they
did in July. In August, they removed twice the number of trees as they did in July. They removed less than 1000 trees in the three months. What is the maximum number of trees they removed in July?