The product of even digits in a number
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the product of all even digits in an integer.
Input
One 64-bit integer (the number can be negative).
Output
Print the product of all even digits, or -1 if such digits do not exist.
Examples
Input #1
Answer #1
Submissions 28K
Acceptance rate 17%