#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x = 0;
  string s;
  cin >> n;
  cin.ignore();
  for (int i = 1; i <= n; i++) {
    getline(cin, s);
    if (s[1] == '+') {
      x++;
      continue;
    }
    if (s[1] == '-') {
      x--;
      continue;
    }
  }
  cout << x;
  return 0;
}
