Bob is putting books on a shelf and takes a break after filling 18 1/2 inches on the book shelf. The book shelf is now 2/3 full. How long is the entire bookshelf?