In a remote place, there is a rabbits market where rabbits can be bought and sold in every day. The trading rules in this market are as follows:
1. The market is available only in morning and afternoon in one day. And the rabbit transaction price may be different every day even different between morning and afternoon in a day.
2. It is prohibited that purchasing more than once in a day. And only one rabbit can be purchased at a time.
3. You can only sell once in a day, but you can sell rabbits unlimited quantities (provided that you have so many rabbits)
Mr.Cocktail has traded in this market for

days, suppose he has unlimited money to buy rabbits. Before the first day and after the last day, he has no rabbits. Now, in these

days, how much money did he earn the most?