Trying to solve https://code.google.com/codejam/contest/2924486/dashboard