https://ide.codingblocks.com/s/364168 is not passing test cases
hello @shrutikatyal
print output for each test case in seprate line. check ur updated code here ->