The longest line of people you can have is thirteen, with the last person taking all the remaining chocolates. There are not enough chocolates for a fourteenth person, because they would have to take 14 chocolates (after the previous person had taken 13) and there would be only 9 left.