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