edit: okay i got it
Least amount? 19 i think
First guy takes 6 and an extra 1 for monkey, 12 left.
Second guy takes 4 and an extra 1 for monkey, 7 left.
Third guy takes 2 and an extra 1 for monkey, 4 left.
They wake up, take 1 banana each, and give the last to the monkey.
N= number of...