I saw the output of your program on sample input given with the problem
(It gives two spaces after every “on” , it should give only one to be correct ) .
I saw the output of your program on sample input given with the problem
(It gives two spaces after every “on” , it should give only one to be correct ) .