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