manas agrawal's submission of Buying Sweets | CodeChef