For a single-story apartment, we know the following: a) there is at most 1 door between any two rooms; b) from any room, there is at most 1 door leading outside the apartment; c) there are 12 doors in the apartment. What is the minimum number of rooms in the apartment?