Ashwin Ramachandran's submission of Buying Sweets | CodeChef