HACKERRANK - Halloween Party

https://www.hackerrank.com/challenges/halloween-party