A cone-shaped icicle has a height of 18 inches and a diameter of 3 inches. If the ice is melting at a rate of 1 cubic inch every 3 minutes, how long will it take the icicle to melt?