The maximum profit