Sameer Raj's submission of Buying Sweets | CodeChef