For the Benefit of All (yet another version) | CodeChef