eolymp
bolt
Try our new interface for solving problems
Problems

Odd positions

Odd positions

Find the product of digits in five-digit integer n, standing at the odd positions.

Input

One five digit integer n (positive or negative).

Output

Print the product of digits at the odd positions.

Time limit 1 second
Memory limit 128 MiB
Input example #1
12345
Output example #1
15

Example description: 1 * 3 * 5 = 15