Question:
Sample input n=4,m=2.
Samle Output is 7
Explanation 4+2+1 ie for 4 wrappers we get one chocolate so 4+1 and he has 2 more chocolates so 7 in total.
When formulate the code for this stating c = n+m+1 it is not satisfying all the test cases.
Suggest an alternative code.