How To Maximize Total Revenue