#include <iostream>
const int N = 70;
int main() {
int a[N];
int i, j, m;
for (i = 0; i < N; i++) std::cin >> a[i];
m = 0;
for (i = 0; i < N; i++)
if ((a[i] % 2 == 1) && (a[i] > 0) && ((m == 0) || (a[i] < m)))
m = a[i];
std::cout << m;
return 0;
}
using namespace std;
int main()
{
for (int i = 0; i < N; i++)
cin >> a[i];
int m = 0;
cout << m;
#include <iostream>
const int N = 70;
int main() {
int a[N];
int i, j, m;
for (i = 0; i < N; i++) std::cin >> a[i];
m = 0;
for (i = 0; i < N; i++)
if ((a[i] % 2 == 1) && (a[i] > 0) && ((m == 0) || (a[i] < m)))
m = a[i];
std::cout << m;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
const int N = 70;
int a[N];
for (int i = 0; i < N; i++)
cin >> a[i];
int m = 0;
for (int i = 0; i < N; i++)
if ((a[i] % 2 == 1) && (a[i] > 0) && ((m == 0) || (a[i] < m)))
m = a[i];
cout << m;
return 0;
}