1#include <bits/stdc++.h>2using namespace std;3int main() {4 int x=0,sum=0;5 int nOofelemnets;6 cin>>nOofelemnets;7 for(int i=1;i<=nOofelemnets;i++) {8 cin>>x;9 sum+=x;10 }11 cout<<sum<<'\n';12}