Shop keeper gives 15 chocolate to the customer. He said to the coustomer, if you give 3 rappers I'll give 1 chocolate. Totally how many chocolate he could get.
Sum continuous two pairs in an array
Its a logic to find out the middle element in an array