Hello Rahul,
So I have been making a code of the above question. I am getting confused as to how do I need to enter the code since I cannot see the sample input. I do not know whether to add input from user or use the sample input already given.
But all of them are wrong. Like if you have time could you explain to me how the test sample works on the code that I have written.
thank you