2. When counting from three to three, there is one left when counting from five to five, just when counting from seven to seven, and three missing when counting from eight to eight, we can know that the number of colored lights is the common multiple of 3 and 7, the multiple of 5 plus 1, and the multiple of 8 minus 3. How many colors of lights do you need? Find the smallest number that is divisible by 5, 8 and less than 3 from the common multiple of 3 and 7.