Medium
Sum the Valid Numbers
Read a line of tokens. Add up the ones that are integers and count the ones that aren't. Print
sum=S skipped=K.Input
One line.
Output
One line.
Sample 1
Input
1 2 x 3
Output
sum=6 skipped=1
Sample 2
Input
a b c
Output
sum=0 skipped=3
Output appears here