PROGRAMMING:Programming problems: data statistics in complex situations - heboost
Data statistics in complex environment
When doing numerical statistics, some non numerical elements may be mixed in. Please program to complete the summation statistics of the input sequence and output,
If a non numeric element is encountered, it will be automatically skipped and an attention line will be output after the final output line
###Input format:
Single line input, elements separated by spaces
###Output format:
Sum and output the integer corresponding to the element
If a non numeric element is encountered, it will be automatically skipped and an attention line will be output after the final output line
###Input sample a:
Here is a set of inputs. For example:
```in
1 2 3 4 5
```
###Output sample a:
The corresponding output is given here. For example:
```out
fifteen
```
###Input sample B:
Here is a set of inputs. For example:
```in
1 2 3 4 a 5
```
###Output sample B:
The corresponding output is given here. For example:
```out
fifteen
attention
```
answer:If there is no answer, please comment
When doing numerical statistics, some non numerical elements may be mixed in. Please program to complete the summation statistics of the input sequence and output,
If a non numeric element is encountered, it will be automatically skipped and an attention line will be output after the final output line
###Input format:
Single line input, elements separated by spaces
###Output format:
Sum and output the integer corresponding to the element
If a non numeric element is encountered, it will be automatically skipped and an attention line will be output after the final output line
###Input sample a:
Here is a set of inputs. For example:
```in
1 2 3 4 5
```
###Output sample a:
The corresponding output is given here. For example:
```out
fifteen
```
###Input sample B:
Here is a set of inputs. For example:
```in
1 2 3 4 a 5
```
###Output sample B:
The corresponding output is given here. For example:
```out
fifteen
attention
```
answer:If there is no answer, please comment