You subtracted the least value from the greatest value and divided by 2 to find the midrange instead of adding the least and greatest values and dividing by 2.