Odd positions#7459

Odd positions

1 second
128 megabytes
Very easy

Find the product of the digits of the five-digit number that are located at odd positions.

Input

The input consists of a single five-digit integer (positive or negative).

Output

Print the product of the digits at the odd positions.

Examples

Example 1

Loading
Loading