#include #include #include #include int main() { int N; scanf("%d", &N); int64_t *sums_exclude = malloc(sizeof(int64_t) * N); int64_t sum = 0; for(int ni=0; ni