#P5015. Character Count in Composition Title
Character Count in Composition Title
Character Count in Composition Title
Kaikai just wrote a wonderful composition. Given the title of the composition which may include uppercase and lowercase English letters, digits, spaces, and newline characters, please count the number of characters in the title excluding spaces and newline characters. The counting rule can be expressed as: $$\text{Count} = \text{TotalChars} - \text{Spaces} - \text{Newlines}.$$
inputFormat
The input is a string representing the title of the composition. The title may contain letters, digits, spaces, and newline characters and can span multiple lines.
outputFormat
Output a single integer indicating the number of characters in the title after excluding all spaces and newline characters.
sample
HelloWorld
10