Petr Mitrichev's submission of Buying Candies | CodeChef