max profit one
max profit two