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