#include int main() { int i,n,a[10000],v,sum=0; scanf("%d", &n); for(i=0;i