numList = list(map(int, input().split()))

first = True
for i in numList:
    if i % 2 != 0:
        if first:
            first = False
            minOdd = i
        else:
            if i < minOdd:
                minOdd = i

print(minOdd)

349f47e053cc529018782e6b05b975ba8c0431ff
<mask token>

<mask token>
for i in numList:
    if i % 2 != 0:
        if first:
            first = False
            minOdd = i
        elif i < minOdd:
            minOdd = i
print(minOdd)

numList = list(map(int, input().split()))
first = True
for i in numList:
    if i % 2 != 0:
        if first:
            first = False
            minOdd = i
        elif i < minOdd:
            minOdd = i
print(minOdd)

numList = list(map(int, input().split()))

first = True
for i in numList:
    if i % 2 != 0:
        if first:
            first = False
            minOdd = i
        else:
            if i < minOdd:
                minOdd = i

print(minOdd)
