#include int N; unsigned long long A,S; int main(void) { scanf("%d",&N); for(;N>0;N--){ scanf("%llu",&A); S+=A; } printf("%llu\n",S); return 0; }