Problem3444--【Div4】gesp2506L3P2- 分糖果

3444: 【Div4】gesp2506L3P2- 分糖果

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description



Sample Input Copy

4
1 4 3 3

Sample Output Copy

16

Source/Category