Time limit
1s
Memory limit
128 MB
Seven natural numbers are given. Select only the odd numbers, compute their sum, and find the smallest selected odd number.
One natural number is given on each of the first through seventh lines. Each number is less than 100.
If there is no odd number, print -1. Otherwise, print the sum of the odd numbers on the first line and the smallest odd number on the second line.