4492: P3040 [USACO12JAN] Bale Share S

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:18 Solved:2

Description

Input

第一行一个正整数  n。   接下来  n 行,每行一个正整数表示重量。

Output

输出一行一个整数表示答案。

Sample Input Copy

8 
14 
2 
5 
15 
8 
9 
20 
4 

Sample Output Copy

26