1
2
3
/*Adrian Brodzik*/
#include<iostream>
using namespace std;int main(){ios_base::sync_with_stdio(0);int n,suma;short a,min=1000;cin>>n>>a;if(a%2!=0&&a<min)min=a;suma=a;if(n!=1){for(int i=1;i<n;i++){cin>>a;if(a%2!=0&&a<min)min=a;suma+=a;}if(suma%2!=0)cout<<suma-min;else cout<<suma;}else if(suma%2==0)cout<<suma;else cout<<"NIESTETY";return 0;}