
Given an input string S that contains multiple words, you need to remove all the spaces present in the input string.
There can be multiple spaces present after any word.
String S
Output Format :
Updated string
1 <= Length of string S <= 10^6
abc def g hi
abcdefghi