Subset Sum Easy

Why I am getting wrong answer for the following code ?

@vaishnavtannu
hello vaishnavi,
image
it should be + in line no 16