Medium
Add Only the Numbers
Read words. Add up the ones that are whole numbers (they may be negative) and print the total.
Input
Words separated by spaces.
Output
One integer.
Sample 1
Input
3 apples 4 pears
Output
7
Sample 2
Input
none here
Output
0
Output appears hereHints