Wrong ans,Not Getting Mistake

code:

@n.nishchaya2000
Why were you taking inputs as int, and then converting them to strings? you could take inputs as strings.
I have corrected your code please check.

I have done this also still wrong, https://ide.codingblocks.com/s/244373

you are not printing a new line after each test case.