#include<stdio.h> int main() { int n; int sum=0; scanf("%d",&n); while(n--) { int N; scanf("%d",&N); sum+=N; } printf("%d",sum); }