#include<bits/stdc++.h>
#include <climits>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using ui = unsigned int;
const ll INF = 1e17+7;
/*
// _ __ ___ __ __ _______ _______
// / | / / / _ \ \ \__\ \\__ __\\ __ \
// / |/ / / /_\ \ \ ___ \ \ \ \ \ \ \
// / /| / / ____ \ \ \ \ \ _\ \___\ \/ /
// /_/ |_/ /_/ \__\ \_\ \_\\______\\___/
ID: mdnahidibnaharun
LANG: C++
TASK: practice
*/
void solve(){
int a[3];
int o=0,e=0;
for(auto &x:a){
cin>>x;
if(x%2==0)e++;
else o++;
}
if(e==1){
for(auto x:a){
if(x%2==0)cout<<x;
}
}
else{
for(auto x:a)
if(x%2!=0)cout<<x;
}
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
// int t;cin>>t;
// while(t--){
solve();
// cout<<endl;
// }
return 0;
}