Mark and Toys

https://www.hackerrank.com/challenges/mark-and-toys