The product of the odd digits of a number
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Calculate the product of the odd digits in a natural number n.
Input
A natural number n.
Output
Print the product of the odd digits. If there are no odd digits, output -1.
Examples
Input #1
Answer #1
Submissions 8K
Acceptance rate 38%