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