Start: Nov, 12, 2017 10:00:00
2017秋Python程序设计基础培训第二次作业
End: Nov, 19, 2017 12:00:00
Time elapsed:
Time remaining:

Problem_ID: D
Result: Accepted
Time: 90ms
Memory: 24300kB
Author: zzzhanghc
In contest: 1122


a=[]
n=list(map(int,input().split()))
while len(n)!=0:
    try:
        s=0
        for i in range(int(n[0])):
            if n[i+1]%2==1:s=s+n[i+1]
        print(s)  
        n=list(map(int,input().split()))
    except EOFError:
        break