4. In the government of the country of knights and liars, there are 12 ministers. Some of them are liars, and the rest are knights. Once, at a government meeting, the following opinions were expressed: the first minister said, “There is not a single honest person here,” the second said, “There is no more than one honest person here,” the third said, “There are no more than two honest people here,” and so on until the twelfth, who said, “There are no more than eleven honest people here.” How many liars are in the government of the country?

23 In the country of knights and liars
4. Note that the number of true statements must match the number of honest people in the government. Further, if a statement from any minister is true, then the statements of each minister who spoke after him are also true. In this case, the only statement that would not lead to a contradiction is: "there are no more than 6 honest people," since in this case, exactly 6 statements would be true. Therefore, there are exactly 6 liars in the government.