Complete the CarMuseum class below so that it implements the given Measurable interface. Your tasks are as follows:

For example, if the input string is "1949 Ford,1943 Studebaker,1950 Chevrolet,1948 Pontiac,1949 Ford,1944 Pontiac,1949 Studebaker", then the getMeasure method of the CarMuseum class should return 6.0.