Problem Statement
This problem is worth 2 tokens.
Input Format
Your first line will contain . Your next line will contain space-separated non-negative integers.
Sample Cases
Input 1
5
3 4 5 1 2
Output 1
6
Input 2
10
4 2 10 4 9 32 69 2 3 4
Output 2
71
Comments