The tourist on an island can play the "getting treasure" game. He has to open a series of doors, each door is colored with one of n colors, according to the following rules:(i) The tourist has n keys, each key with a different color.(ii) Once a key is used, it is not permitted to change until it is destroyed.(iii) Each key can open any door, and keeps intact when it opens the door having different color with it, but is destroyed when it opens the door having the same color with it.Find the least number of doors to ensure that no tourist, no matter how he choose the order of the keys to use, can get the treasure.