#include <bits/stdc++.h>
using namespace std;
inline void file() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
int main() {
  char b[10000];
  int a;
  cin >> a;
  int c = 0;
  for (int i = 0; i < a; ++i) {
    cin >> b[0] >> b[1] >> b[2];
    if (b[0] == '-' and b[1] == '-' or b[2] == '-' and b[1] == '-')
      c--;
    else
      c++;
  }
  cout << c;
}
