#include <iostream> using namespace std; int main(){ int n,sum; sum=0; while(cin>>n){ sum+=n; } cout<<sum; return 0; }