#include int main(void){ int n; long int sum,a; scanf("%d",&n); for(int i = 0; i < n; i++){ scanf("%ld",&a); sum += a; } printf("%ld\n",sum); }