This is a pretty cool and interesting question from AMC.

There are four lifts in a building. Each makes three stops, which do not have to be on consecutive floors on include the ground floor. For any two floors, there is at least one lift which stops on both of them. What is the maximum number of floors that this building can have?

(A) 4

(B) 5

(C) 6

(D) 7

(E) 12