Given an article consists of uppercase/lowercase English characters, digits and space characters (including ' ', '\n'), find out the sum of all numbers contained within the article.
Two digits belong to a same number if and only if there is no any other characters between them.
For example, "I am a 100numbe24r3 5" contains four numbers 100, 24 , 3 and 5, and their sum is 132.
About getchar(): defined in stdio.h, getchar() reads a character (including space characters!) from standard input, returns that characters' ASCII code, or EOF (also defined in stdio.h, usually == -1) if reaches end of file (end of input).
Sample usage:
Input consists of at most 1000 uppercase/lowercase English characters, digits and space characters.
It is guaranteed that all the numbers inside the article is less than 1010.
Print out the sum of all the numbers inside the article.