Length of a Word
Read one word and print how many characters it has.
Input format
A single line with one word S (no spaces).
Output format
Print the number of characters in S.
Constraints
- Values fit in a 64-bit signed integer
- Trailing whitespace and a trailing newline are ignored by the judge
Read from stdin, write to stdout. Sample cases below show the exact format.
Sample cases
Example 1
Input
helloExpected output
5Example 2
Input
aExpected output
1