Problem Statement Not Clear

I am not able to understand the first test case given in problem statement.
Is it necessaary to change position of each element ?

@Lal-Krishna-1089281684584206 hey ,that test case is wrong ,I think answer should be 35 for this case.

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.