jay patel's submission of Buying Sweets | CodeChef