Mapping and Summing

Mapping and Summing#

The input to your program will be a sequence of words, separated by single spaces.

Your program should print out the sum of the lengths of the words.

Sample Input 1:

map is cool

Sample Output 1:

9

Sample Input 2:

oneword

Sample Output 2:

7

Sample Input 3:

a the it from to

Sample Output 3:

12