6 or 7 would be optimal because the oppo…

6 or 7 would be optimal because the opportunity cost is less, if you buy 7 and only sell 6 you still make more than buying and selling 5.