A string is cut into fourths. Three of the fourths are thrown away. One third of the remaining fourth is cut away and the piece left over is 6 feet long. How long was the string initially?