A carpenter is building a bookcase. The perimeter of the top is 108 in. If the width is 8 in., what is the length of the shelf?