#include <bits/stdc++.h>
using namespace std;
int main() {
  intmax_t x = 0;
  size_t turns;
  string op;
  cin >> turns;
  while (turns) {
    cin >> op;
    if (op[1] == '+')
      ++x;
    else
      --x;
    --turns;
  }
  cout << x << endl;
  return 0;
}
