Test case are not passing

i wrote the code for this program.
checked it by entering custom input .
ans came out correct but when i am submitting it, it is showing wrong answer and test cases failed…

Hello @discobot,
Could you pls share the whole program you have written.

Hi! To find out what I can do, say @discobot display help.