Isabelle’s math homework requires her to find the product of odd numbers in a list. The problem is, she doesn’t know how to determine which numbers are odd! So, she asked for your help.
INPUT FORMAT
Input consists of an arbitrary sequence of positive integers whose values can be from 1 to 100. Input values are separated by a newline and is terminated by any negative value.
Note: Assume that there is always at least one (1) odd value in the input.
OUTPUT FORMAT
Print the product of all odd numbers found in the list.