Brute force solution
Brute force solution

MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem,MarcusTherkildsen/Monkey-and-coconut-problem