#include int main(){ int n,a; long b; long c=0; scanf("%d",&n); for(a=1;a<=n;a++){ scanf("%ld",&b); c=c+b; } printf("%ld",c); return 0; }