Maximum/Minimum Problem - Sum and Product