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