while True: try: s=list(map(int,input().split())) sum=0 for i in s: if i%2==1: sum+=i if s[0]%2==1: sum-=s[0] print(sum) except EOFError: break;