To form 3 adjacent squares (as in the figure), 10 toothpicks are required. How many toothpicks are required to form 1000 adjacent squares?