Solve for the mean median and mode