/* This program is an answer to the problem stated in mt1-2.txt. */ main() { int n; int d; int s; scanf("%d",&n); s = 0; while (n > 0) { scanf("%d",&d); s += d; --n; } printf("%d\n",s); }