https://www.hackerrank.com/challenges/angry-children