Create a function that takes date in the format yyyy/mm/dd
as an input and returns "Trick or Treat"
if the date is October 31
, else return "Trick"
.
halloween("2013/10/31") ➞ "Trick or Treat"
halloween("2012/07/31") ➞ "Trick"
halloween("2011/10/12") ➞ "Trick"