#include int main(void){ int N; unsigned long long A, sum = 0; scanf("%d", &N); while(N != 0){ scanf("%lld", &A); sum += A; N--; } printf("%lld\n", sum); return 0; }