Problems

# Difference

# Difference

Find the difference between the product and the sum of the digits of a three digit number.

#### Input

One three digit number (positive or negative).

#### Output

The difference between the product and the sum of the digits of a given number.

Input example #1

198

Output example #1

54