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