Finally, the fifth guy wakes up, and again, the number of coconuts remaining is not divisible by 5, but as he gives 1 to the monkey, the remainder becomes divisible by 5, so he takes his 5th and hides it in a safe place before he falls asleep again. 