int main() {
int n, sum = 0;
scanf("%d\n", &n);
int m[n];
for (int i = 0; i < n; i++) {
scanf("%d ", &m[i]);
sum += m[i];
}
printf("%d", sum);
return 0;
}
int main() { int n, sum = 0; scanf("%d\n", &n); int m[n]; for (int i = 0; i &l" >
int main() {
int n, sum = 0;
scanf("%d\n", &n);
int m[n];
for (int i = 0; i < n; i++) {
scanf("%d ", &m[i]);
sum += m[i];
}
printf("%d", sum);
return 0;
}