


Reverse the given string word wise. That is, the last word in given string should come at 1st place, last second word at 2nd place and so on. Individual words should remain as it is.
String in a single line
Output format :
Word wise reversed string in a single line
0 <= |S| <= 10^7
where |S| represents the length of string, S.
Welcome to Coding Ninjas
Ninjas Coding to Welcome
Always indent your code
code your indent Always