1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#include<cstdio>
int n,x,s,t=999;
inline void read(int&a){char c;while(!(((c=getchar())>='0')&&(c<='9')));a=c-'0';while(((c=getchar())>='0')&&(c<='9'))(a*=10)+=c-'0';}
int main(){
  for(read(n);n--;s+=x){
    read(x);
    if((x&1)&&(x<t))t=x;
  }
  if(s&1)s-=t;
  if(s)printf("%d",s);else puts("NIESTETY");
  return 0;
}