Difference#941

Difference

1 secondo
128 megabyte
Molto facile

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 the given number.

Esempi

Esempio 1

Loading
Loading