#------------------------------------------------------------
# Challenge #252: "Sailors and Monkeys and Coconuts, Oh My!"
# Difficulty: Easy
# February 1, 2016
# Brandon Newbright
#------------------------------------------------------------


def coconuts(n):
  