#includeusing namespace std;int main(){ freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); int x; int sum=0; while (~scanf("%d",&x))sum+=x; printf("%d\n",sum);}