2. In a fairy-tale country, some cities are connected by roads in such a way that from any city you can reach any other city, possibly through some other cities. No two cities are directly connected by more than one road.

We will call a road amazing if, upon its closure, it becomes impossible to travel from some city to some other city. It is known that there are a total of 30 roads in the country, 25 of which are amazing. How many cities can there be in the country? If there are several correct answers, list them separated by commas or semicolons.
Answer: $29,30\|30,29\| 29 ; 30 \| 30 ; 29$