#include int main(void) { int N,i,sum; scanf("%d\n",&N); sum=0; long unsigned int A[50000]; for (i=1;i<=N;i++){ scanf("%d,",&A[i]); sum+=A[i]; }; printf("%d\n",sum); return 0; }