Output is wrong

my output is coming is

2

12345

yes

12134

no

hello @mohitenikhil888

pls save ur code at cb ide and share its link with me

i am not able to sending to link

copy the generated link , paste it here in the chat box

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.

plz send solution of this program

ide solution me checker variable ka use kiya he last digit or reminder nikalane keliye but next step me last digit se odd or even check kar rahe ho why/

question me sum of digit odd or even he bola he .