The code is not working
i have correct it you have made mistake in print function.
your givencode is not working
use this it will pass all testcases
i have correct it you have made mistake in print function.
your givencode is not working
use this it will pass all testcases