DELEVE - Somma i numeri dispari

Given a list of integers, return the sum of only the odd numbers in the list. If the list is empty, return 0.

NOTE: To read the input list in Python, you can, for example, use the command lis=eval(input()) which stores the input list in the variable lis. To write the list to output you can, for example, use the print command followed by the name of the result list.

Input

The first line contains a list of integers. The list can also be empty.

Output

The sum of only the odd numbers in the list. If the input list is empty, 0 is returned.

Example

Input:
[54,33, 23, 12 ,0 ,6, 91]

Output:
147

Added by:giorgio.piccardo
Date:2018-05-04
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:NCSHARP JULIA PYPY3 PYTHON3

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.