https://www.hackerrank.com/contests/101jan14/challenges/filling-jars
https://www.hackerrank.com/contests/101jan14/challenges/harry-potter-and-the-floating-rocks