#K60892. Remove Spaces from a String
Remove Spaces from a String
Remove Spaces from a String
Given a string (s), remove all the space characters from it. In other words, generate a new string (result) such that [ result = s \setminus { \text{space} }] For example, if (s = \texttt{"Hello World"}), then (result = \texttt{"HelloWorld"}). The string may include letters, digits, and special characters.
inputFormat
Input is provided via standard input (stdin). It consists of a single line containing the string (s) from which spaces are to be removed. The length of (s) is between 0 and 1000 characters ((0 \leq |s| \leq 1000)).
outputFormat
Output the string after removing all space characters. The output should be printed to standard output (stdout).## sample
Hello World
HelloWorld