#include<bits/stdc++.h>
using namespace std;
#define int long long
int read(){
int k=0,f=1;
char c=getchar_unlocked();
while(c<'0'||c>'9'){
if(c=='-') f=-1;
c=getchar_unlocked();
}
while(c>='0'&&c<='9') k=k*10+c-'0',c=getchar_unlocked();
return k*f;
}
void put(int x){
if(x<0) putchar('-'),x=-x;
if(x<10) putchar(x+'0');
else put(x/10),putchar(x%10+'0');
}
signed main(){
int n=read(),sum=0;
while(n--) sum+=read();
put(sum);
return 0;
}
Comments NOTHING