#include <bits/stdc++.h>
using namespace std;
char s[4];
int main() {
  int n, x = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> s;
    if (s[0] == 'X')
      if (s[1] == '-')
        x--;
      else
        x++;
    else {
      if (s[0] == '-')
        --x;
      else
        ++x;
    }
  }
  cout << x << endl;
}
