The candle in the chimney with no air gap at bottom will go out first because on burning the candle, all the air in chimney gets heated and melts the wax of candle readily. The candle in the chimney with air gaps at bottom will last longer because, in this case, the lighter air is replaced by the cooler air from the bottom of the chimney, which makes the environment of candle cooler.