A rope 15 inches long has been divided into the greatest possible number of pieces in such a way that each piece has a different length, and each of these lengths in inches is expressed by a whole number. How many cuts were made?

A.3
B.4
C.5
D.6
E.7