#include int main(){ int n; scanf("%d\n",&n); long s; while(n--){ long a; scanf("%ld\n",&a); s+=a; } printf("%ld\n",s); return 0; }