There are 4 doors in a museum. In how many ways can a visitor enter and leave the museum?
(A) 4
(B) 8
(C) 16
(D) 64