#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int c = 0;
  string s;
  while (n--) {
    cin >> s;
    for (int i = 0; i < 3; i++) {
      if (s[i] == '+') {
        c += 1;
        break;
      } else if (s[i] == '-') {
        c -= 1;
        break;
      }
    }
  }
  cout << c;
}
