#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int x = 0;
  string b = "";
  string g = "-";
  string t = "+";
  bool fr;
  cin >> n;
  for (int s = 0; s < n; s++) {
    cin >> b;
    for (int i = 0; i < b.size(); i++) {
      if (t[0] == b[i]) {
        fr = true;
      } else if (g[0] == b[i]) {
        fr = false;
      }
    }
    if (fr) {
      x++;
    } else {
      x--;
    }
  }
  cout << x;
}
