Competitions

# 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 second
Memory limit 128 MiB
Input example #1
-1+2*3+a

Output example #1
3

Input example #8
+5-2+4-m/n*2:4

Output example #8
4

Source SFE-2010 Variant 1