1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#include<cstdio>
int main()
{
    
    int n, a,b;
    scanf ("%d", &n);
    int min=10001;
    long long sum=0;
    for (int i=1; i<=n; i++)
    {scanf ("%d", &a); 
    if (a<min && a%2==1) min=a;
    sum= sum+a;
    }
   if (sum %2==1) sum=sum-min;
    if (n==1) printf ("NIESTETY"); else printf ("%lld", sum);
    return 0;
    
}