the code is giving correct output but not passing the test cases here’s the link :
hello @tanmay8598 print output for each testcase in separate line.