* This code solves the problem Halloween party from hacker rank
 * The url of the problem is:
https://www.hackerrank.com/challenges/halloween-party