Problem Description

Given a line with mixed tokens, add only the numeric ones and print the sum. Print as integer if it is whole.

Input Format

One line with tokens.

Output Format

One number sum.

Sample Test Case

Input:
10 cat 2.5 dog -3
Output:
9.5

Constraints

Total text

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next