#include<stdio.h> int main() { int n,a[99]={0},sum=0; scanf("%d",&n); for(int i=0;i<n;i++) { scanf("%d",&a[i]); sum+=a[i]; } printf("%d",sum); return 0; }