e-olymp
Problems

Number of operations

Number of operations

Find the total quantity of operations of addition (+), subtraction (-) and multiplication (*) in the given arithmetic expression.

Input

The arithmetic expression is given in one line, that does not contain brackets and spaces. The number of symbols does not exceed 250 in expression.

Output

Print the number of the specified operations.

Time limit 1 seconds
Memory limit 128 MiB
Input example #1
-1+2*3+a
Output example #1
3
Source SFE-2010 Variant 1