Start: Apr, 17, 2017 10:00:00
Python程序设计基础培训第二次作业
End: Apr, 23, 2017 14:00:00
Time elapsed:
Time remaining:

Problem_ID: D
Result: Accepted
Time: 95ms
Memory: 21432kB
Author: 13685812575
In contest: 1086

#!usr/bin/python
# -*- coding:utf-8 -*-
while True:
    d = map(int, raw_input().strip().split())
    n,a=d[0],d[1:]
    sum=0
    for i in range(n):
        if (a[i]%2==1):
            sum=sum+a[i]
    print sum