#include <iostream>
#include <cstdio>
#include <cassert>

using namespace std;

int main() {
  #define NAME "a"
  assert(freopen(NAME ".in", "r", stdin));
  assert(freopen(NAME ".out", "w", stdout));

  int a, sum = 0;
  while (cin >> a) {
    sum += a;
  }
  cout << sum << endl;
}