Shouldn't the output answer be 7? in test case

In the test case. answer shows 6. However if the other player choses 1 in 1 2 3 . Piyush is left with 2 and 3.
if he choses 3 the answer becomes 7

@alamsarfraz422 all the players are playing optimally, therefore player 2 will also try to increase his score so he will not choose 1 instead of 3

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.