#include <stdio.h> int main() { int a,sum=0,c; scanf("%d",&c); while(c>0){ scanf("%d",&a); sum+=a; c--; } printf("%d",sum); return 0; }