35.5%

max profit=the sum of increase parts
30.6%

the sequence is important
line 7