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: 98ms
Memory: 24300kB
Author: lijian3256
In contest: 1122

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