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