• Confused as to the max value returned

Question related to mission Divide Gold: Rates Are Rising


In the sample case where there is 15 pieces of gold and 1 sailor, the captain would get 10 pieces and the sailor 5, or the sailor could take all 15 pieces. The expected answer is 10; I expected 15.

What is the max value you're expecting us to return or why is the answer 10 versus 15?