I need the code to print out EXCATLY what it says for the test cases Please do this the code I have right now isn’t printing out what exactly what it says for test case 2 but it is for the others please help me. I literally need the inputs to output word for word

I need the code to print out EXCATLY what it says for the test cases Please do this the code I have right now isnt printing out what exactly what it says for te class=